Re:The Programmers Before Us Were Better
by ajanuary on Friday September 28, 2012 @08:32AM
(#4585157)
There's something amusing about the source code to a pretty printer not conforming to its own defaults.
Also, from the README: | Some history. Way back in 1976, the project I worked on at the | University of Illinois Center for Advanced Computation had a huge | battle about how to format C code. After about a week of fighting, I | got disgusted and wrote a program, which I called indent, to reformat C | code. It had a bunch of different options that would let you format | the output the way you liked. In particular, all of the different | formats being championed were supported.
Re:The Programmers Before Us Were Better
by gordonguthrie on Friday September 28, 2012 @05:08AM
(#4584763)
Trailing whitespace on GitHub is only a problem if your editors treat it differently across the team and it generates a herd of rampaging git farts that obscures your commit history - that is a real problem that you do need to solve.
They have been fighting that one for longer than you know. :-)
Seriously, based on http://svn.freebsd.org/base/user/eri/pf45/head/usr.bin/inden... I suspect that in 1976 there was a developer at the University of Illinois who was already sick and tired enough of fighting with others over how to indent code to write a program to just do it The Right (ie his) Way.