yacgta@infosec.pub to Programmer Humor@programming.devEnglish · 1 year agoExperienced engineer examines comments in a legacy codebaseinfosec.pubimagemessage-square5fedilinkarrow-up168arrow-down10file-text
arrow-up168arrow-down1imageExperienced engineer examines comments in a legacy codebaseinfosec.pubyacgta@infosec.pub to Programmer Humor@programming.devEnglish · 1 year agomessage-square5fedilinkfile-text
minus-squareMikelius@beehaw.orglinkfedilinkEnglisharrow-up3·1 year agoYou have comments in your legacy codebases?? Luckyyyyy
minus-squarephilm@programming.devlinkfedilinkEnglisharrow-up2·1 year ago// This enters the if branch if "myVar" == true while otherVar == 42 { // do something }
minus-squareMikelius@beehaw.orglinkfedilinkEnglisharrow-up2·1 year 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
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