Re:Fixing C
by paulddraper on Thursday April 14, 2016 @01:44PM
(#11498865)
?
Git and linux were both written (originally) by Torvalds.
And both use a fair amount of deep indentation.
Right. I wasn't really commenting on whether git/linux were coded "correctly" in either case, just that it's not a very helpful metric for the larger conversation.
Re:Fixing C
by paulddraper on Thursday April 14, 2016 @11:41PM
(#11501937)
Fair enough. And my (flippant) comment was on two very large, very successful projects written predominantly in C with thousands of contributors.
Whether >3 level of indentation is "good", IDK. But it happens a lot. And I'm a practical man.
It's not as if Torvalds wrote the entire codebase by himself, anyway.