🐿️
12

DAE keep seeing people use comments to explain what their code does instead of WHY it does it?

Been helping a few friends learn Python and I keep seeing them write stuff like # this adds 1 to x right next to x += 1. Like yeah I can read the code. But they never write # increasing the counter because we need to track how many users logged in today. I did this for like 2 years on my own projects and then went back to fix something from 3 months ago and was totally lost. Anyone else notice this pattern with beginners?
1 comments

Log in to join the discussion

Log In
1 Comment
wyatt862
wyatt8622d ago
Two whole years going back to completely lost code?
1