Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
bb6xt3258yIn Python it is recommended to favor spaces over tabs. Some js style guides also recommend 2 space indentation. So when I find someone ranting about spaces I simply don't understand them. How can you not like spaces?
-
bb6xt3258y@conic with most text editors you can set your preferred indentation to tabs or spaces. I can't see how using spaces leads to more typing. In Python spaces are generally preferred. And since mixing tabs and spaces throws an error, it is especially important that you choose one and stick with it.
-
MaccaMc5538yUsing tabs is like pressing page break on word, using spaces is like pressing enter until you get to the next page
They both work, but we all know that we should press that page break button. :) -
I just made it so when I press tab it prints 4 space. But honestly I could care less which you use. Just use auto formating to fix it up to the correct style.
Related Rants
Tabs v spaces again
undefined
war
spaces
tabs