Discussion

Ask HN: How do I get into the habit of writing comments/docstrings?

Hello HN, I have a real issue with always forgetting to write proper comments and docstrings in my code, especially on personal projects, and then coming back to them and thinking "what did I mean when I wrote that?"

Does anybody have any tips for getting into the habit of writing good comments?

3 points nihilazo 6 years ago 1 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton