Pseudo-code – A very useful tool!

'Awesome' meme

Today we were given a lecture focusing on the technique of writing pseudo-code before going ahead and writing the final code. Pseudo-code is defined as ‘An outline of a program, written in a form that can easily be converted into real programming statements‘ (Webopedia, 2014). 

I found the way the lecture was delivered very interesting, our lecturer simply told us that she was a ‘robot’ for the purpose of the example, she would be stood on a point (which she marked out) and needed to get to another point next to the whiteboard and draw a chair. At first it was difficult for me to get my head around this idea as I found the whole thing to be rather ambiguous, only now when I’m writing this blog do I fully realise that intact to look at this task as ambiguous would do nothing more than stifle what our lecturer was trying to do. So once we’d tried and failed several times to try and get our lecturer to move to the whiteboard and draw the chair by not being specific enough or thinking as simply as possible (breaking down multiple, yet such natural steps for us we forget its intact several things happening) we managed to really begin thinking in a way which allowed us to break down steps fully,

I believe this was a thoroughly useful exercise. I say this because by taking a project and breaking it down fully, like a plan before jumping in and going for it gives us the advantage of being able to pick apart the steps we thought we’d take and refine and improve the code we’d eventually make before even writing it, saving time and using the time we’d spend completing the project much more efficient, as well as this when looking at the steps in this way using Processing as an example here, by breaking down what we’d need to code we’d be able to think about what libraries were already out there to help us with this code which would mean less coding would be required, saving more time.

Source – Webopedia, 2014. What is Pseudocode. Quinstreet. Available from: http://www.webopedia.com/TERM/P/pseudocode.html [Accessed 3 December 2014].

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s