Day 4 at Makers Academy

Ruby Mastery

In Day 4 we started working with Ruby. We had all done some Ruby before, the pre-interview work was all based in Ruby, however for me this was about 9 months ago, so I definitely needed a refresher. We were given a link to a website which talked through some concepts in Ruby, and once we finished a chapter we would have to produce code related to what we had read. Here is the website, some very useful stuff.

The questions for the chapter summaries started off very easy. The chapter one quiz was one question, which asked us simply to write a program that ‘puts’es a number. The program code being
puts 160
The first few were easy, but the difficulty did ramp up. By the end of the day I was about halfway through the questions, with chapter 6 awaiting testing.

This was our first real introduction to TDD, Test Driven Development, in which code is tested to see if it meets certain criteria. This is one of the most important things about modern programming, so I am eager to learn more about writing my own tests. At this point though the tests were very useful to see exactly how the program was meant to behave.

Leave a comment