C Code Quality Debate
The cluster centers on debates about the readability, elegance, and quality of a specific C codebase, with many users praising it as exceptionally clean and succinct while others critique it or discuss examples of well-written C in general.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Maybe it's next to impossible to write C code that isn't badly written
Clear and easily readable C code is underrated.
Hi!You seem to imply that this is not a well-written C code. Why do you feel this way?
What are two or three C codebases that are elegantly and cleanly written, and that every mid-level C programmer should read for sake of knowledge?
Yay! to more people being exposed to a well-written C code :)
Hi! Thank you for writing and publishing this project! Just to clarify: no part of my critique was aimed at you or your choices in this codebase. My main point is that unlike the original commenter in this thread, i believe that well written C is not as clear and simple as well written rust (or other modern languages). I then tried to back that up by cherry picking a random line of βc-likeβ code from your codebase. My beef is with C, not you or anybody else using it :)
Maybe the C code was just badly written
That's a very good code. Succinct and readable. You clearly now your C well :)
Keep in mind that we're talking about C code here. Error handling etc. blows that up quite significantly.
That's some quite nicely written C!