PSEUDOCODE

Serkan Sahin
2 min readNov 13, 2020

PSEUDO = “false”

Introduction:

Before I wrote this blog, I didn’t know where to begin. So, I created a rough draft that included bullet points on what I wanted to include in my story and how to incorporate it into my final draft. This made my life easier when it came down to actually do the writing. In the great world of software development, engineers use rough drafts in their own way. This tool is called Pseudocode.

What is Pseudocode?

Pseudocode is basically a plain language description of an algorithm. It is a tool that programmers use before beginning a project to better understand what it is that they are trying to accomplish. Instead of diving head first into a new program not knowing where to begin, they read an English based description. It also helps those who are joining the project at a later time as well. Reading the pseudocode can get you caught up quickly to whatever it is that your new group has been involved in.

Steps For Writing Pseudocode

Figure out what you are trying to do? What is the problem? What is it that you are trying to accomplish here? Once you figure this out, write it down! Once you know what the problem is and it is written down, decide what output you want from the method that you are about to write? What should it print out onto the screen? What should the method do? Once you have an english version of your code, you should be ready to hop in the actual programming language you want to write in.

IF you are happy && you know it THEN
raise your hand
ELSE you are sad
do nothing
ENDIF

Why you should use more Pseudocode?

Pseudocode is a tool that most professional developers use. It should be a habit that every coder should get into. It makes life a lot easier! Draw charts, write statements, do it in your own way. Do whatever is going to make it easier for you and your peers to understand.

Conclusion

Don’t forget. Pseudocode is not a programming language. So, it can not be used in an executable program. It uses short terms of simple English language syntaxes to write “fake”-codes for programs before it is actually converted into a specific programming language. Basically, you create a step-by-step written outline of your code that you can gradually transcribe into the programming language.

Photo by Chris Ried on Unsplash

--

--