Why You Should Be Writing Pseudo Code

Andrew Crippen
2 min readApr 8, 2021

Definition of pseudo from dictionary.com

Pseudo code is just commented out text where you plan what you’re going to build with code before you actually write the real code.

Writing pseudo code allows you to get your thoughts in writing and can also help you actually think through what you’re doing without juggling it all in your head at once.

It’s nice to be able to refer to it while writing real code and it helps you stay organized with your thoughts when building systems.

You can start with a general idea of what you need to implement and then in each method or script break it down step by step.

After you finish writing the real code you can delete the pseudo code or write actual comments if needed.

It’s best to use descriptive names for variables and methods and keep them consistent between classes and within parameters so there’s no guessing what is going on, many times it eliminates the need for comments in your code.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Andrew Crippen
Andrew Crippen

Written by Andrew Crippen

Unity Developer/C# Programmer for VR, 2d,3d Games and other Immersive Interactive Experiences

No responses yet

Write a response