Quote: In most "modern" uses, an indent, which is the most common use of a tab, is 5 characters I don't think I ever encounter editors where this isn't configurable.
Quote:
and when coding, most sane people don't use more than 2
For rapid visual differentiation of nests, most developers I know prefer 3 or 4. 1 or 2 simply isn't enough space difference to easily scan with the eyes. By a more reliable definition of sane, someone sane uses an environment with configurable tab width and just uses actual tabs instead of spaces because we're in the 21st century now and can do modern things with modern software.
Quote:
because the deeper the indent, the fewer nested sections you can have, before the code starts wrapping itself
What? Your lines are too long, your screen is too small, and you seriously nest conditionals way too much if this is a problem for you. |