• Worthstream@lemmy.one
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Once I had to fix a website with everything in the same script. Every page, every bit of html with inlne CSS and Javascript, was there in a gigantic sequence of else if, with functions (with embedded business logic) to output the common bits.

      I mean, the streets of R’yleh were more navigable than… that.

      • militantcookie
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        You can write bad code in any language. Looks like you hit the jackpot with that one.