News for hackers. Stuff that matters.
Re:Dennis Ritchie's first C compiler on Github by JoeAcchino on Wednesday May 22, 2013 @01:58PM (#5752590)
Just use tabs for indentation and spaces for alignment.
Re:Dennis Ritchie's first C compiler on Github by Peaker on Wednesday May 22, 2013 @06:19PM (#5754170)
While you might do so, anyone you collaborate with will probably not do that. Why? Because almost every code editor in existence comes with that option turned off. And many of them don't even have that option at all! If you expect your codevelopers to manually adjust the alignment to be spaces rather than tabs on each line they edit, when their editor doesn't even distinguish tabs from spaces, oh boy.

Tabs just don't work out in a collaborative environment. It is too complicated for a heterogenous editing environment to get correct, so no such environment gets it correct in practice and code ends up a huge mess.