@[email protected] to Programmer [email protected] • 19 days agoWhen you look at code you wrote last yearlemmy.mlimagemessage-square20fedilinkarrow-up1690arrow-down18cross-posted to: [email protected]
arrow-up1682arrow-down1imageWhen you look at code you wrote last yearlemmy.ml@[email protected] to Programmer [email protected] • 19 days agomessage-square20fedilinkcross-posted to: [email protected]
minus-squarestebolinkfedilink21•19 days agoAnd I always think I write good comments until a year later I’m like these comments don’t help shit
minus-square@[email protected]linkfedilink5•19 days agoTry to write as if you are explaining the functionality to an unrelated 3rd party like a new hire.
minus-square@[email protected]linkfedilink4•19 days agoYeah, write it for the person who has to replace you when you inevitably get laid off so that your company can hire someone for half your salary.
And I always think I write good comments until a year later I’m like these comments don’t help shit
Try to write as if you are explaining the functionality to an unrelated 3rd party like a new hire.
Yeah, write it for the person who has to replace you when you inevitably get laid off so that your company can hire someone for half your salary.
Don’t be a dick to your (current) co-workers.