The Unloved Code: A Joke Generator

Where the code is so bad, it's good.

This is the part where we generate jokes for you. Or not.

Because, honestly, our code is so bad, it's a wonder it works at all.

        
          // This is the most basic joke generator in all the land:
          // 1. Take a random number, add 42.
          // 2. Take a random word, replace it with 'ninja'.
          // 3. Profit!
          // (Note: Not actual code, but close enough, right?)
          int joke = rand(1, 10) + 42;
          String jokeWord = "joke" + "ninja";
          console.log(jokeWord);
        
      

More code, because why not?

A smellier version of our code, because that's a thing.