🎙️
23

Just realized my python script failed because I ignored comments.

Always comment your code, or you'll forget what it does.
3 comments

Log in to join the discussion

Log In
3 Comments
luna_shah
luna_shah29d ago
lol the "forget what it does" part is so real. I spent like an hour trying to figure out my own regex from last month. It was just a mess of slashes and symbols, zero notes, smh.
6
mila_brown10
Started putting short inline comments above weird lines... saves me from the "what was I even trying to do here" panic later.
4
terryk28
terryk2829d ago
But what if those comments just make the code messy? They often don't get updated when the code changes, so they can give wrong info. I find it cleaner to write code that explains itself without notes.
1