News for hackers. Stuff that matters.
Re:Size is the best predictor of code quality (2011) by suprjami on Friday November 11, 2022 @10:42PM (#33569731)
> It's generally a good thing to write code which takes up more space if it's clearer to understand what's going on.

Eskil Steenberg has talked about *width* of code as a more likely quality indicator.

Consider the difference between:

    func(int i, void* p)
And:

    modulename_objectname_operation(int count, void *ptr)
Reference: https://youtube.com/watch?v=443UNeGrFoM
Re:Size is the best predictor of code quality (2011) by ilyt on Saturday November 12, 2022 @03:29AM (#33571238)
"I think C is the greatest language, for all the reasons other people hate it"

I'm sorry, nothing intelligent can come after statement like that, and I'm not wasting 2 hours to verify that claim

Re:Size is the best predictor of code quality (2011) by suprjami on Sunday November 13, 2022 @03:59PM (#33587275)
Your loss. It's one of the best intermediate C resources on the internet.