News for hackers. Stuff that matters.
Re:Aaron Swartz's Thoughts on djb (2009) by aros on Friday March 06, 2015 @09:53AM (#9157216)
Just glancing through the qmail GitHub repository gave me a headache. Plenty of files have 0 comments (not really sure where you see the clearly stated assumptions). In addition, he seems obsessed with 1 letter variables which offer no inclination of their purpose at a glance.
Re:Aaron Swartz's Thoughts on djb (2009) by simtel20 on Friday March 06, 2015 @12:27PM (#9158221)
Here's something I did for myself a long time ago: take some of the fundamental code like alloc.c, alloc_re.c, fmt_str.c and str_*.c, and start commenting it yourself. I found that it was so expressive and concise that after a short time the code is very clear and the comments get in the way.

The only real noise is that no-one uses SunOS cc anymore and compilers will optimize loops (expanding in place, or doing other magic optimizations when appropriate) so loop-unrolling doesn't apparently buy an increase in performance anymore.

Re:Aaron Swartz's Thoughts on djb (2009) by taeric on Friday March 06, 2015 @11:52AM (#9158012)
And yet he probably wrote code that would be considered objectively better than anything I have ever seen from my large variable name and lots of comments colleagues. Perhaps there is more to it than surface level concerns?