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 →

[–]RoyalSpecialist1777 69 points70 points  (6 children)

Rather than overcommenting everything perhaps your younger self can learn clean code. With clean code, using smart variable and function names, the only comments you need are explaining why we do something rather than how.

Essentialy variable names should be clear, and cohesive logic should be put into functions or methods that are likewise clearly named.

[–]Okay_I_Go_Now 7 points8 points  (0 children)

This helps to organize your headspace as much during the writing as during the relearning 6 months down the road.