News for hackers. Stuff that matters.
Re:Principles for C programming by pcwalton on Thursday March 16, 2017 @03:44AM (#13883254)
> This is awful code because the authors are morons, not because the language is bad.

Rainer Gerhards is a researcher who has published in peer-reviewed journals [1].

Can we please end this "people who write code in a style I don't prefer are idiots" meme?

[1]: https://www.researchgate.net/profile/Rainer_Gerhards

Re:Principles for C programming by makapuf on Thursday March 16, 2017 @04:44AM (#13883482)
Good researcher and good coder is definitely not always the same (not specifically talking about Mr Gerhards - but this code is UURGH. Redis also has modules).

Most of the research code I've seen if definitely not clean code. And needn't be. (Version Control ? what's that ?)

Re:Principles for C programming by Sir_Cmpwn on Thursday March 16, 2017 @03:51AM (#13883278)
If you don't think this code is awful then we aren't have a meaningful conversation about it. Smart people can write garbage code, too, this is great evidence for it.