a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment
thundara  ·  4283 days ago  ·  link  ·    ·  parent  ·  post: Yes, your code does need comments.

Personally, at the very least, I think programmers should document their code in some way. This can be anything from a write-up of its overall design if it's going to be left to another programmer, or python / Java docstrings so you can take advantage of the many IDEs/IDLEs that can show you that information on the fly. Comments, at the bare minimum in this case might mean noting places where you are doing something out of the ordinary (Portability provisions, dealing with library quirks, etc)

More than that? You'll probably benefit in the long run, but many projects are under time constraints or aren't meant to last.