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
-
bioDan61597y@Condor lol nothing to be ashamed of.
and if you have any decency, you'd admit its much more elegant than \U+2B7E 😷 -
Root825997yIf tabs were always 4 characters, I wouldn't care.
But they're not. And when people mix tabs and spaces, the result is an unreadable mess.
Thus the only way to preserve code sanity is to enforce spaces. -
heikomat6877y@dougheeren absolutely no one uses the space-key for indentation. Everyone who says he uses spaces for indentation does so with the tab-key. Why would you even think that we use the space-key?
I don't hit space 6 times if I need three levels of indentation. I hit tab once, and let the ide make the 6 spaces. -
Ugh.
There are only three rules:
1. Starting a new project, and existing style convention for the language exists? Use the official style. Tabs for Go, 4 spaces for Python, 2 spaces for Ruby, space-aligned for Haskell, etc.
2. Existing project works fine, but indentation style conflicts with official or conventional style? Ask the team whether they unanimously support conversion. If there is disagreement, don't force one over the other, but do force a consistency rule.
3. No official rule, and starting a new project? Consider following community convention (https://ukupat.github.io/tabs-or-sp...) as much as possible, but you can pick whatever you like.
There, solved.
Related Rants
Lol....this was only save her......
joke/meme
tab
war
space