News for hackers. Stuff that matters.
Re:Show HN: My Single-File Python Script I Used to Replace S... by msm_ on Thursday September 21, 2023 @09:37PM (#37606846)
I disagree with comments being distracting. You can overdo them, but one good comment - like "baz = 1 # the default is 1 instead of 0, because most real-world production servers foobars 1s into 7s" can save days of frustration.

In general, comments often add a very vaulable context to your code in a way that readaable function/variable names can't.

There are no comments on this comment yet.