|
|
|
|
|
by jrmenon
4518 days ago
|
|
More on braces, I am squarely in the Allman camp for the reasons described here: http://www.experimentgarden.com/2009/07/facts-behind-code-in... It is amazing the old-style K&R still persists. I think there was one more reason it was preferred in the early days which is not mentioned in the aforesaid link: storage space which was also expensive. The K&R style saves a new-line char which would be a significant saving in large codebases. |
|
† I think K&R does make use of new line braces, for functions.