News for hackers. Stuff that matters.
Re:Code only says what it does by ChrisMarshallNY on Tuesday July 07, 2020 @05:11AM (#23757164)
I actually take it forward a bit more in that article, to where clear naming eliminates the need for a comment at all:

-

With a good name, we could probably do away with the comment entirely:

let numberOfIterations = 3

-

It’s a fairly exhaustive article (but kind of a long read).

Documentation is an important topic.

https://medium.com/chrismarshallny/leaving-a-legacy-1c2ddb0c...

There are no comments on this comment yet.