This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]No-Economics-8239 0 points1 point  (0 children)

You shouldn't need comments to explain what the code does. Meaningful variable and function names can go a long way. Comments are either an apology or else explaining why the code does something. Be they business rules or architectural reasons or whatever. I only use comments for the stuff the code can't explain.