Pseudo Code

Jerrod Molnar
2 min readAug 23, 2022

--

Pseudo Code is intended for anyone to be able to read the logic behind a program. Instead of writing just the logic in the programming language, pseudo code allows for a written steps in a language such as English that can be read and followed by anyone. After the pseudo code has been written a programmer can take that to the programming language of choice and take the pseudo code to that programming language syntax.

Pseudo Code Example

Pseudo Code is just an informal guide that can then be translated to the chosen programming language. As you can see in the above example loops are included in this guide. This also tells programmers about variables and values of them and also other aspects of programming such as printing variables on the screen.

Examples of Pseudo Code above programming code

When using pseudo code with Unity the pseudo code is usually written within the script. It can be at the top of the script or above the lines of code that were written with the logic of the pseudo code. Not saying this is the only way to do it but this seems like the best way to have the pseudo code to be able to help the programmer by being able to have it all in one place.

--

--

Jerrod Molnar

I have recently joined the GameDevHQ apprenticeship program to learn how to make games professionally, which has always been a dream of mine.