6 ms·
"... but it is not how anyone in their right mind writes C." If I were going to place blame (I think a better approach is to skip that and just solve the probl
by ised 11y ago
"... but it is not how anyone in their right mind writes C."
If I were going to place blame (I think a better approach is to skip that and just solve the problem), then I would blame developers, not the language.
To me, the code you are criticizing is very "regular" -- it follows predictable patterns. I find it easier to follow than most other C code I read.
More importantly I believe it is worth following. Obviously he is doing something right as reliability, performance and paucity of bugs shows.
All this despite not being in the "right mind", whatever that means.
I wish all the programs I am forced to use were written with such care.
- Johnny_Brahms 11y agoI wish all C was written with such care as well. I just wish they had less pointer arithmetic, less one-character variables and was commented, you know, at all...