Experienced engineer examines comments in a legacy codebase
As title
I have a few of these but I forget where they came from, curious if anyone here knows
https://classicprogrammerpaintings.com/
That was it, thank you!
You have comments in your legacy codebases?? Luckyyyyy
// This enters the if branch if "myVar" == true while otherVar == 42 { // do something }
Lmao I've unfortunately seen stuff like this, where other parts of code that looked like just made up stuff had zero comments. Basically comments only where they weren't needed and lacking where they're needed