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
-
Why are we still having this conversation? Use whatever the fuck you want people!! :)
-
The only thing I hate about people using spaces is when they copy & paste code lines but don't mark the block correctly before copying so they leave 1-3 spaces left there so the new line they write there is by 1-2 spaces off the normal indentation.
I FUCKING HATE THIS AND MY OCD DRIVES ME NUTS.
For the sake of clean, proper indented code, use tabs. Be a good coder.
It even makes navigating with arrows much easier.
FUCK SPACES. 😊 -
brod99257y@qbasic16 wooooow hold up, no, nonononono, no!
Use spaces, but just get a half decent editor that understands x amount of spaces equals a tab and tab your heart out. -
Eh all my full stack peers make a strong argument. Soft tabs and any IDE worth it's salt will handle the experience.
Arrow keys slow down your workflow, invest in yourself and unlock the power of vim text manipulation...you don't have to worry about navigating with arrows when you can jump to any charachter in the file without your hands leaving the home row.
I recently made the switch now that I'm fully comfortable with the tools I've described...for me it's sublime with vim mode....but plain old vim + ctrl-P plugin for jumping to files/methods using fuzzy search is also great. Pretty sure notepad++ and most other IDEs let you do the same.
Spaces are compatible with tabs, tabs have to be converted to spaces or they make git/other VCS trip out.
Do your future self & current collaborters a favor and invest. -
Shodan4987y@lukegv agreed, I think the spaces vs. tabs "holy war" is pointless nowadays and should be downgraded to "minor skirmish", at least as far as code formatting goes.
A hard tab is simply compressing X spaces into a single character. We can say it's syntactic sugar. It makes things sweeter to use, but it can be broken down to its fundamental construct outside of the "presentation layer". Hence, use whatever you want, as long as it can be stored as spaces in the end.
Soft tabs are, to me, the best of both worlds, with the sugary experience and standardized internal representation simultaneously.
Related Rants
I beg your pardon visual studio... Spaces... Fucking spaces... No no no no no no no
undefined
visual studio
spaces
the fuck man