cm0002@suppo.fi to Programmer Humor@programming.dev · 1 day agoThe Six Stages of Code Griefsuppo.fiexternal-linkmessage-square136fedilinkarrow-up11.04Karrow-down111
arrow-up11.03Karrow-down1external-linkThe Six Stages of Code Griefsuppo.ficm0002@suppo.fi to Programmer Humor@programming.dev · 1 day agomessage-square136fedilink
minus-squarecatnip@lemmy.ziplinkfedilinkarrow-up8·18 hours agoThose are rookie numbers. We got functions with 5000+ lines and 20 levels of indentation directly in the user-interaction event handlers :)
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up5·edit-218 hours agoWell, that’s how you do it! And if two widgets need to create the same effect, you just copy the 5000 lines around. That’s why copy-and-paste was invented. (It really shouldn’t be necessary… but in case somebody still needs it, here’s the \s)
minus-squarecloudy1999@sh.itjust.workslinkfedilinkarrow-up1·7 hours agoThis is the right strategy. Storage space costs nothing these days. Why not just clone and go? That’s what I always say. Why, you can just ‘inherit’ some code by copying a block, pasting it, then making a few small changes. No thinking, no problem. Ok, I’m off to copy of my code folder for the next release.
Those are rookie numbers. We got functions with 5000+ lines and 20 levels of indentation directly in the user-interaction event handlers :)
Well, that’s how you do it!
And if two widgets need to create the same effect, you just copy the 5000 lines around. That’s why copy-and-paste was invented.
(It really shouldn’t be necessary… but in case somebody still needs it, here’s the \s)
This is the right strategy. Storage space costs nothing these days. Why not just clone and go? That’s what I always say.
Why, you can just ‘inherit’ some code by copying a block, pasting it, then making a few small changes. No thinking, no problem.
Ok, I’m off to copy of my code folder for the next release.