hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agoManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devimagemessage-square100fedilinkarrow-up1808arrow-down18
arrow-up1800arrow-down1imageManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devhypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agomessage-square100fedilink
minus-squareDontTakeMySky@lemmy.worldlinkfedilinkarrow-up0·11 months agoCode comments for "why"s that persist. Commits for why’s that are temporary. If you need to run X before Y, add a comment. If you added X before why because it was easier, leave it in a commit
minus-squaredeadbeef79000@lemmy.nzlinkfedilinkarrow-up1·11 months ago If you need to run X before Y… Add a test that asserts that.
Code comments for "why"s that persist. Commits for why’s that are temporary.
If you need to run X before Y, add a comment. If you added X before why because it was easier, leave it in a commit
Add a test that asserts that.