99 Bottles of Object Oriented Programming; An Interactive Session

This is a past event

17 people went

Location image of event venue


What does good code look like? Seems like a simple enough question to answer. A much harder one is how do you get to this good code? This is the question that Sandi Metz (https://www.sandimetz.com/) and Katrina Owen (http://www.kytrinyx.com/) answer in their new book 99 Bottles of OOP (https://www.sandimetz.com/99bottles/).

This month we’ll be doing an interactive session based on the opening chapter. You’ll start by spending some time solving the 99 bottles of beer problem (https://rosettacode.org/wiki/99_Bottles_of_Beer) before we look at four existing solutions and discuss the relative merits and disadvantages of each. Although we won’t have the entire answer (for that you need to read the book!) by the end we should have a better understanding of what makes for good code.

Taking part There will be a half hour programming exercise at the beginning of this session. Doing the exercise is not compulsory, but if you would like to take part bring a laptop with Ruby (https://www.ruby-lang.org/en/documentation/installation/) (1.9 or above) and the Minitest (https://github.com/seattlerb/minitest) gem (version 5 or above) installed on it.

Don't know Ruby? We welcome folks who are new or unfamiliar with Ruby! Please come along and either observe the session or get a helping hand from one of our more experienced members. You can also complete the exercise in another language if you like, but the tests provided will be written in Ruby, as will the examples we will go through at the end. Regardless of your experience or familiarity with Ruby, you should be able to get something from this session.

Need help installing Ruby?

If you need any help getting things set up on your computer, come to the session at 6:30pm and we'll be happy to help.