My 120-day journey to being a better Unity Developer — Day 7

Why is pseudocode so important?

Jean-Noel Seneque
2 min readMay 3, 2021
Photo by JESHOOTS.COM on Unsplash

You have signed up for a programming course and you have been breezing each lesson until all of a sudden you hit one of the big coding challenge — and you freeze.

Where do I even begin?

What is pseudocode exactly?

It is an artificial and informal language that helps programmers develop algorithms. In short, it is something you write that is not actual code in any programming language but, if anyone were to read it, it would make it clear to see what is happening.

It helps bridge the gap between what you want your program to do and the actual code you need to write. Here is a snippet of what pseudocode might look like for a program that asks for your age:

How is pseudocode helpful?

Pseudocode helps you plan out your program, lays out the algorithms in a format that is easy to read, and a way to discover issues early before getting into the nitty, gritty of a programming language.

Examples:

Example with IFs
Example using WHILE loop

Pseudocode is all about making you a better coder.

--

--

Jean-Noel Seneque
Jean-Noel Seneque

Written by Jean-Noel Seneque

A Data & Analytics Consultant who is expanding into developing experiences in XR, Enterprise and Gaming space using Unity www.jeannoelseneque.com

No responses yet