BitsNBytes on Google

Tuesday, October 27, 2020


Before we get started its important to understand what pseudocode is and how to properly use it.  

Pseudocode is a term used in programming to define how programmers explain, or describe specific code in plain English.  This is great when necessary to explain things to non-technical people.  However, its best use is to get a better more in depth understanding of the solution for the problem you are solving.

For example, to write an algorithm to send an email message the pseudocode might look something like this:

  1. Create new email message
  2. Enter to email address 
  3. Enter from email address
  4. Enter email message
  5. Send email

This is obviously very simplistic, but that's the beauty of pseudocode. Its meant to be simple and easy for anyone to understand.

One of the best things a developer can do when designing an application is to write pseudocode for its functionality functionality.  I use it on a daily basis for the purposes of giving me a clear understanding of what I need to do.

Not only will it give you a better understanding of what you need to do, it will also help you locate potential issues before you write a single line of code.  This is a great way to save tremendous headaches in the long run.

You can write out as much detail in your pseudocode as you need.  More is usually better, especially if you want to determine any flaws early in the software development process.

There are not necessarily defined standards for pseudocode.  I will present more examples as I start to present more content.

If you are interested in learning more please visit my affiliate link to this great book on pseudocode.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

File IO with Python

Direct Video Link