flamingos-cant (hopepunk arc)@feddit.uk to Programmer Humor@programming.devEnglish · 9 months agoFair enough honestlyfiles.catbox.moeimagemessage-square4linkfedilinkarrow-up17arrow-down10
arrow-up17arrow-down1imageFair enough honestlyfiles.catbox.moeflamingos-cant (hopepunk arc)@feddit.uk to Programmer Humor@programming.devEnglish · 9 months agomessage-square4linkfedilink
minus-squareOmgpwnies@lemmy.worldlinkfedilinkEnglisharrow-up0·9 months agoBreak it up into functions with names that describe what it does, then the script becomes basically a sequence of function calls and is easier to read and troubleshoot.
minus-squarejkercher@programming.devlinkfedilinkEnglisharrow-up1·9 months agoI’m on your side dude. Comments rot. Some are useless. Don’t even get me started on doxygen comments.
Break it up into functions with names that describe what it does, then the script becomes basically a sequence of function calls and is easier to read and troubleshoot.
I’m on your side dude. Comments rot. Some are useless. Don’t even get me started on doxygen comments.