News for hackers. Stuff that matters.

mt40

Re:Useful and useless code comments on Friday June 18, 2021 @04:24AM (#27548447)
I do this all the time as well ever since I knew about this technique.

For me, another giant benefit is that I can scan through the function and understand what it does just by reading the comment. The energy saved by those comments can be spent on writing more code :)

Re:Show HN: Bot Land, a game where you fight others via code on Sunday September 29, 2019 @10:44PM (#21111352)
Very interesting. It looks just fun at first but become more and more addicting. Good job!