Pseudocode: Week 5 – 14/05/21

Today’s lesson was really good. I’ve come across pseudocode previously with the infamous peanut butter & jam sandwich scenario. Typically I do tend to write out a form of pseudocode or even draw stuff out. I can definitely see the benefits of doing this in a more structured way and also get in the habit of doing it regularly.

I do remember being told in school to write instructions out as if you were writing them for an alien from another planet – I think this will be a great thing to remember when writing code. By being explicit with what we want to achieve, how we are going to go about doing that and then the execution it will help me to become a better programmer, show my reasoning and also be helpful for others looking at my work.

You can have a look at my fizzbuzz instructions and code here.

Leave a Comment

Your email address will not be published.