cm0002@suppo.fi to Programmer Humor@programming.dev · 21 hours agoThe Six Stages of Code Griefsuppo.fiimagemessage-square119fedilinkarrow-up1930arrow-down110
arrow-up1920arrow-down1imageThe Six Stages of Code Griefsuppo.ficm0002@suppo.fi to Programmer Humor@programming.dev · 21 hours agomessage-square119fedilink
minus-squarecatnip@lemmy.ziplinkfedilinkarrow-up3·4 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-up1·edit-24 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)