informa
3 min read
Blogs

The Delicious Psuedocode of an English Muffin

The delicious pseudocode of how to make an English muffin- an essential guide in explaining programming for any hungry programmer. For when you know your non-programming relatives are going to be asking about what you actually do for a living.

//This pseudocode will teach you how to make an English muffin for breakfast as

//a programmer. It will also show you how to explain programming to non-programmers.

 

check_ingredients( egg, English muffin, sausage, cheese, mayonnaise) {

           if !egg

               return error

         if !Englishmuffin or Englishmuffin==moldy

                 return error

        if !Suasage or !cheese or !mayonnaise

               return error

return true

}

cook(ingredient){

       place in pan

       when done

           remove

}

assemble() {

         stack ingredients

}

eat(){enjoy}

//in the main function

if check_ingredients( egg, English muffin, sausage, cheese, mayonnaise){

               cook(egg)

                cook(sausage)

                cook(English muffin)

               mayonnaise.spread()

                assemble()

                eat()

}

 

*/As you can imagine I had an English muffin for breakfast. It got me thinking as I made it about the steps involved. The concept of pseudocode is a great starting point for explaining programming to non-programmers. As a teenager I competed quite aggressively in science fairs. I had to come up with a simple way to explain programming to judges. Often times they were experts in their own fields but had no background in programming. Pseudocode improvisation was my preferred method because even if you have never touched a computer before you can quite easily understand the concept of pseudocode. I would spontaneously come up with a short pseudocode related to their field to explain how programming works and how my projects worked.

When making video games you can have a similar problem in explaining what you do to people who have no background in the programming side of building video games. These might be people on your team or investors or even relatives at annual family dinners. To  explain what you do start by following these simple steps (I’m assuming for the purposes of this explanation that you are a programmer.) 

Step 1. I do programming.

Step 2. Counter their “What is programming?” with programming is like making an English muffin. First you check if you have all the supplies, then you cook the ingredients, then you assemble it, then you eat it. Programming is simply writing down the steps in such a way that a computer can do it. You can substitute almost anything for making an English Muffin. I find that if you substitute something the person you are explaining it to is passionate about you get the best results. 

Step 3. Specific key words related to your specialty. This is so if someone asks them a question about what you actually do they can show off their knowledge. Keep it simple. For example “I use the programming language C# to build video games.” You can expand upon what type of video games you build if asked for more details.

That’s it. Three simple steps that will leave your team mates, investors, and family members actually having an idea of what you do as a programmer.

This post originally appeared at https://gildedoctopusstudios.com/englishmuffin-pseudocode/.

Latest Jobs

Treyarch

Playa Vista, California
6.20.22
Audio Engineer

Digital Extremes

London, Ontario, Canada
6.20.22
Communications Director

High Moon Studios

Carlsbad, California
6.20.22
Senior Producer

Build a Rocket Boy Games

Edinburgh, Scotland
6.20.22
Lead UI Programmer
More Jobs   

CONNECT WITH US

Register for a
Subscribe to
Follow us

Game Developer Account

Game Developer Newsletter

@gamedevdotcom

Register for a

Game Developer Account

Gain full access to resources (events, white paper, webinars, reports, etc)
Single sign-on to all Informa products

Register
Subscribe to

Game Developer Newsletter

Get daily Game Developer top stories every morning straight into your inbox

Subscribe
Follow us

@gamedevdotcom

Follow us @gamedevdotcom to stay up-to-date with the latest news & insider information about events & more