The importance of pseudocode

Timo Schmid
2 min readApr 6, 2021

--

Prototype is basically the plain English version of an objective or task you have to do.

Think about the following objective:

Pseudocode helps you out in breaking down problems into the smallest pieces.

The pseudo code with step-by-step instructions of what to do

The amount of quiz grades is specified by the actual user. Therefore, we don’t know the exact amount and have to create a method that works regardless of the actual amount. We use an array for that.

Next up, we need a for loop for calculation the random quiz grades. The random range was not provided, therefore, let’s go with between 0 and 100.
Right after the calculation, we want to print out the just randomly created quiz grade:

The required for-loop

Another use case for pseudocode is to remember what you want a method to do. You have the method in your head, but have to go away for some time. You come back and have forgotten what you were thinking about the method before. Pseudocode like this prevents you from this:

Draft for a method, waiting to be implemented

--

--

Timo Schmid
Timo Schmid

Written by Timo Schmid

The mission? Becoming a game developer! RPG is the dream! Writing down my journey here for me and for everyone interested. Thanks for showing interest :)

No responses yet