Day 8 at Makers Academy

Pseudocode and More Ruby

In the morning of Day 8 we had a workshop with one of the coaches to talk about Pseudocode. Basically it is planning out exactly how your code should work before you start coding. Very useful for when you have something complex, planning it in this way will give you step by step guide on how it should run. I imagine this is similar to TDD as well.

Speaking of TDD, I had my first experience of writing it today too. We had written a fizzbuzz program earlier as part of the Ruby Mastery, but we had to write one again, with tests in place to make sure it worked. Very basic TDD but a good intro before we start it properly on Day 11.

After this I started looking at a bit more Ruby, following some of the guides in the Makers teachable site. As part of this I built an ‘app’, where if you run the code, it comes up with a menu of options, which you can choose between to do different things. One of the options allows you to enter a list of names, which you can then save to a txt file with another option. You can load txt files with another option and display the list thats loaded. It’s quite cool to produce something that is actually resembling a usable application, albeit very basic! Here is the repo for the app.

Also tried my hand at some Codewars, I did 3 challenges, they were fairly tough but I got through them. Went from 8kyu to 7kyu, whatever that actually means! I made sure to save the code that came up after as best practice from the community, so I can work towards refactoring my code better.

Leave a comment