cm0002@suppo.fi to Programmer Humor@programming.dev · 22 hours agoThe Six Stages of Code Griefsuppo.fiexternal-linkmessage-square121fedilinkarrow-up1951arrow-down110
arrow-up1941arrow-down1external-linkThe Six Stages of Code Griefsuppo.ficm0002@suppo.fi to Programmer Humor@programming.dev · 22 hours agomessage-square121fedilink
minus-squarecatnip@lemmy.ziplinkfedilinkarrow-up4·5 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-up2·edit-25 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)
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)