Hacker News new | ask | show | jobs
by quackerhacker 4467 days ago
Comments in production code have always been a pet peeve of mine. I understand the OP's frustration on useless comments where the function clearly states enough in it's naming convention.

I brought this up to one of my instructors before and he said that comment overhead is negligeble on bandwidth (I was referring to css and js commenting at the time), but I don't think that's true when you factor in mobile networks and when some teams comment every freaking line when naming convention and common sense should suffice.

1 comments

I would hope that you would be using minify in some way, which lets you still have your comments and just drop them for production.