[OT] Spaces/tabs (Was: simple display (from: GUI library for D))

Daniel Gibson metalcaedes at gmail.com
Mon Apr 11 20:23:41 PDT 2011


Am 12.04.2011 05:15, schrieb Jonathan M Davis:
> Using tabs screws with that unless you're completely 
> consistent, and while a single developer may be consistent, groups of 
> developers rarely are.
> 
> - Jonathan M Davis

Yeah that is why using spaces screws with that: While a single developer
may be consistent, groups of developers rarely are.
So there may be a developer who uses tabs instead of spaces (maybe
because he thinks his editor will convert the tabs to spaces but he
forgot to check that option in the editors settings)..
And of course then there's that guy who uses two spaces instead of four
(or whatever the convention is), at least from a level of 3 indentations
on, to save space on the screen.
And this other guy who uses eight spaces in his performance critical
code because he thinks that'll prevent unnecessary nesting..
So much for consistency.

As someone else said before: This argument works for both directions.

Cheers,
- Daniel


More information about the Digitalmars-d mailing list