28
I lost weeks of work because I thought comments were useless
When I started coding, I skipped writing comments in my scripts. I believed my code was simple and did not need extra notes. Later, I had to update a project and got totally lost in my own logic. It took me forever to fix simple bugs because I could not follow my past steps. This was a big failure that set me back a lot. Now I insist that comments are key for any beginner. Do not make my error; write comments from the start to save yourself trouble.
3 comments
Log in to join the discussion
Log In3 Comments
richarddixon1d ago
Last month I found some old Python scripts, and ruby_lane is right, idk what past me was thinking without comments.
3
ruby_lane1d ago
Ever been humbled by your own past code? I learned that lesson the hard way too.
-1
tyler_bailey891d ago
My first job had code from 5 years ago I had to fix. I mean, the nested loops and single-letter variable names made no sense. It really taught me to write for future me.
8