produnis@discuss.tchncs.de to Programmer Humor@lemmy.ml · 1 year agoadvisediscuss.tchncs.deimagemessage-square12fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageadvisediscuss.tchncs.deprodunis@discuss.tchncs.de to Programmer Humor@lemmy.ml · 1 year agomessage-square12fedilink
minus-squarebleistift2@feddit.delinkfedilinkarrow-up0·1 year agoHot take: Even these ‘useless’ comments help, since they relieve you of the burden of reading the code itself, even if it’s trivial. One line of English is easier to parse than one line of trivial code.
minus-squareRumo@feddit.delinkfedilinkarrow-up0·1 year agoExactly! Maybe i’ve never seen a Pizza Box before. For you your code may be trivial. But for someone else an “open before eating” helps a lot.
minus-squaresznio@lemmy.worldlinkfedilinkarrow-up0·1 year agoYep. But reading one outdated line of English is worse than reading 5 lines of code and seeing the true picture.
minus-squarebleistift2@feddit.delinkfedilinkEnglisharrow-up0·1 year agoI don’t feel like “ditch comments” is the right solution to “we {forget, don’t care enough} to update comments”.
Hot take: Even these ‘useless’ comments help, since they relieve you of the burden of reading the code itself, even if it’s trivial. One line of English is easier to parse than one line of trivial code.
Exactly! Maybe i’ve never seen a Pizza Box before. For you your code may be trivial. But for someone else an “open before eating” helps a lot.
Yep.
But reading one outdated line of English is worse than reading 5 lines of code and seeing the true picture.
I don’t feel like “ditch comments” is the right solution to “we {forget, don’t care enough} to update comments”.