4 ms·
You only tend to find that when the style your being forced to use happens to align with your own style, or you don't use the language/tool and therefore aren't
by bodge5000 5y ago
You only tend to find that when the style your being forced to use happens to align with your own style, or you don't use the language/tool and therefore aren't affected by it.
In my experience, a lot of programmers will shout from the rooftops about the importance of consistency until the agreed upon standard isn't their standard, at which point consistency is no longer the most important matter at stake.
- xigoi 5y agoThat's not true. For example, I prefer 2-space indents, but I use 4-space indents in Python because that's the convention.
- syockit 5y agoPaired with a characters-per-line limit, 4-space indents forces you to better modularise your so that it doesn't nest too deep (which usually happens when your code is becoming too complex) so I guess that's the wisdom behind the convention.
- brushfoot 5y ago> You only tend to find that when the style your being forced to use happens to align with your own style My style is consistency. I'm happy to use any language that enforces that rather than leaving room for bikeshedding, even if the aesthetics aren't my personal favorite. Better than wasting time debating e.g. tabs vs. spaces.
- mywittyname 5y agoDo people seriously not adapt to the code style they work with? I have to deal with different coding styles at every work place, and it takes me all of a week to forget any objections I had to it when I started.
- goodpoint 5y agoYou can very easily configure your editor to convert tabs to spaces. Braces are unnecessary.