News for hackers. Stuff that matters.
Re:Please do not attempt to simplify this code by c3534l on Friday December 28, 2018 @03:23AM (#18775508)
This sounds like a self-fulfilling prophesy. If only think comments are for telling you what a line of code does literally, then you're only going to see comments where the code is obscure. If you use it as a form of high-level communication to help the user understand the broader context and reasoning behind code (like at the top of the linked page), then it will be useful because the person writing the comments understands why documenting your code is a good thing.
Re:Please do not attempt to simplify this code by lmm on Friday December 28, 2018 @05:47AM (#18776062)
Code can and should be a form of high-level communication too. In a well-structured program, the high-level code will explain the high-level context, and the low-level detailed code will explain the low-level details.