@[email protected] to Programmer [email protected]English • 2 years agoExperienced engineer examines comments in a legacy codebaseinfosec.pubimagemessage-square6fedilinkarrow-up1230
arrow-up1229imageExperienced engineer examines comments in a legacy codebaseinfosec.pub@[email protected] to Programmer [email protected]English • 2 years agomessage-square6fedilink
minus-square@[email protected]linkfedilinkEnglish7•2 years ago// This enters the if branch if "myVar" == true while otherVar == 42 { // do something }
minus-squareMikeliuslinkfedilinkEnglish2•2 years agoLmao 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
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