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
-
When I see code that its indented with spaces I quit my job. No notice, no talk... I walk away and never show up again.
-
tahnik387587y"Different editors interpret tabs differently"
That's the whole fucking point of tabs. Personal preference. -
@Nelson Not all heroes wear capes. I salute you and your efforts to our noble cause. 😂😂
Welcome to devRant. -
Two spaces sure, but four spaces is alot easier to read. Take a look at the standard in Python, the easiest language to read in the universe.
-
kisamegr317yWell, nobody ranted about you snapping a photo instead of taking a screenshot, I'm kinda forced to be that guy now... LIGHTSHOT!!11!!1!1!11!!!
-
@SpencerBeige What? No! All editors support soft tabs, you press tab and 2/4/8/n spaces come out!
-
eldamir12297yI see many "tab zealots", who think we actually use the space-bar 4 times for four spaces.
Don't join a debate, when you are so oblivious. That is all.
Actually, not all. Stop the zealotry altogether and make constructive arguments instead -
slar3007yIndentation characters are not something a human should worry about, that's something IDE/editors/formatters ensure are consistent. Unless I show non-visible characters, I don't even know if I'm using tabs or spaces.
The people that should hang are those who use tables for alignment. I have met some so i knowthey exist, but I really hope they're a dying breed. -
@SISheogorath for ASCII art of course, but that has nothing to do with indentation.
And which editor requires a lot of configuration to use tabs?
It's usually just a toggle in the code style settings, which you will probably have to change anyways. -
Salmakis6737y@ctmalloy whenever i sre python i think "wtf is this shit?" and close the file and search a solution in another language.
Hail tabs -
@DLMousey isn't that due to line endings? If you set your editor to LF it should work fine.
-
@SISheogorath that makes sense. I guess, if you're working alone or with a like-minded team, spaces are a bit easier to set up.
-
Salmakis6737y@SISheogorath ye looks the same for everyone, for ppl on the projects that worked with tabs of 2 size for allmost 20 years its a nightmare to have so much space of the sceen wasted with fucking 4 spaces. With tabs you can waste you screenspace as you pleasure and i still can have my 2sized.
Setting up your 2-3 text editors to use the same size of tabs should not be so complicated. -
I can't see a problem with setting a tab to imitate 4 spaces... That's what I did in my Atom editor and the code looks good...
Related Rants
W3schools ruined my life
undefined
why would you do that
w3schools
tabs vs spaces