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

Sucker Punch Productions

Hybrid (Bellevue, WA, USA)
11.30.23
Senior Programmer

The Pyramid Watch

Remote
11.22.23
Game Designer (RTS/MOBA)

Sucker Punch Productions

Hybrid (Bellevue, WA, USA)
11.30.23
Senior Technical Combat Designer

Digital Extremes

Remote
11.13.23
Lead AI Programmer
More Jobs   

CONNECT WITH US

Explore the
Advertise with
Follow us

Game Developer Job Board

Game Developer

@gamedevdotcom

Explore the

Game Developer Job Board

Browse open positions across the game industry or recruit new talent for your studio

Browse
Advertise with

Game Developer

Engage game professionals and drive sales using an array of Game Developer media solutions to meet your objectives.

Learn More
Follow us

@gamedevdotcom

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