News for hackers. Stuff that matters.
Re:Ask HN: Do you ever go back and admire a piece of code yo... by ekimekim on Friday May 08, 2020 @03:13PM (#23118328)
I think this is a matter of coding style.

When I'm writing something I'm generally "top down", breaking the problem into sub-tasks. In this mindset I'll often start a sub-task with a comment describing what it needs to do, and then set out to do it. If it turns out I was wrong about what I needed to do then I update the comment, but that's not that common.

There are no comments on this comment yet.