Skip to content

Instantly share code, notes, and snippets.

@CodingItWrong
Last active January 14, 2019 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CodingItWrong/ea0cab0378e42fa53076188521708a66 to your computer and use it in GitHub Desktop.
Save CodingItWrong/ea0cab0378e42fa53076188521708a66 to your computer and use it in GitHub Desktop.
Programming Burgers

Inspired by this exchange:

@rickhanlonii: My phone autocorrects in-n-out to --no-config it's probably okay

@CodingItWrong: There are a lot of configuration-heavy burger places these days

  • React: You just get the hamburger patty because we want it to be edible by the widest possible variety of people. How can we know in advance how you want to eat it?
  • Preact: less than three calories and just as tasty as React to most people's tastebuds.
  • Vue: we include the pieces that most burgers will need: the patty, the cheese, and the bun. Everyone can add the condiments they already like.
  • Ember: the burger will be more delicious if all of us focus on improving one recipe.
  • Elm: the burger must be prepared in a very specific way to be delicious, but if you get something wrong the burger politely explains what you need to do.
  • Rails: the burger is delivered to you fully prepared by your server.
  • PHP: a kind of meatloaf where ground beef, bread, and cheese are mixed indiscriminately.
  • Swift: ultimately we want the same hamburger to be tasty for everyone from toddlers to master chefs.
  • Elixir: a hamburger bun, patty, tomato, and lettuce on a plate not touching each other. You might think it's not a hamburger, but technically it fits Ray Kroc's original definition of hamburger better than most supposed hamburgers.
  • Haskell: a lot of people don't like the taste, but it's because they haven't spent enough time understanding the hamburger.
  • Go: The key point here is our cooks are burger flippers, they’re not chefs. They’re typically fairly young, in high school, probably learned making toast. They’re not capable of understanding a brilliant recipe but we want to use them to make good burgers. So, the recipe that we give them has to be easy for them to understand and easy to follow.
  • Clojure: Rich Hickey lay in a hammock and thought really hard about how to make a hamburger, then went and made it just right on the first try.
@fimion
Copy link

fimion commented Jan 14, 2019

  • Rust: The burger is made ridiculously fast, and it is delicious, but none of the pieces touch each other.

  • Python: yeah, that's part of the standard library.

  • COBOL: the burger is ancient. But solid. Or petrified. It might be a rock. But it works so don't mess with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment