Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"// Divides by 2" is the worst kind of comment and the unfortunate part is that thanks to "AI autocomplete" these will only be merged even more often [raises hand for forgetting to delete this instruction]


My company has a style guide that every public type/method/etc. must have a comment and it results in a ton of these comments for trivial methods.


Part of the problem is that I’ve needed to add comments like that to someone’s clever one-liners (probably mine).




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

Search: