Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Overly Long Variable Name Could Have Been a Comment (jonathan-frere.com)
1 point by pavel_lishin on July 3, 2025 | hide | past | favorite | 2 comments


I wish they had included some examples.

I'm a big fan of breaking things down into intermediate steps, to make the whole flow easier to understand. Sometimes comments are necessary - but usually I can come up with intuitive variable names.


I disagree.

Comments are to explain why, not how.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: