• catnip@lemmy.zip
    link
    fedilink
    arrow-up
    4
    ·
    5 hours ago

    Those are rookie numbers. We got functions with 5000+ lines and 20 levels of indentation directly in the user-interaction event handlers :)

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 hours ago

      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)