alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoMore the merrierlemmy.worldimagemessage-square21fedilinkarrow-up128arrow-down11
arrow-up127arrow-down1imageMore the merrierlemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square21fedilink
minus-squareArcaneSlime@lemmy.dbzer0.comlinkfedilinkarrow-up0·1 year agoLmao me commenting my 14 line bash script, comments almost as long as the script itself. I have a habit of forgetting “why’d I put this there” and at least with my scripts I can leave myself a note for future me.
minus-squarenuez_jr@lemm.eelinkfedilinkarrow-up1·1 year agoThe highest comment-to-code ratio I ever wrote was a CMD script that had to combine three different escaping conventions. It was a good day when I got to throw that one away.
minus-squarecoloredgrayscale@programming.devlinkfedilinkarrow-up1·1 year agoAdding the fourth, ultimate escape to it.
minus-squareharuki@programming.devlinkfedilinkarrow-up1·1 year agoWell, bash scripts are infamous for being arcane so commenting abundantly is better than nothing.
Lmao me commenting my 14 line bash script, comments almost as long as the script itself.
I have a habit of forgetting “why’d I put this there” and at least with my scripts I can leave myself a note for future me.
The highest comment-to-code ratio I ever wrote was a CMD script that had to combine three different escaping conventions.
It was a good day when I got to throw that one away.
Adding the fourth, ultimate escape to it.
Well, bash scripts are infamous for being arcane so commenting abundantly is better than nothing.