So on the second night of using Sleep Cycle, I woke up feeling knackered (tired) and snoozed for a good 40 minutes. However, I’m not going to give up on it yet, since I didn’t actually go to bed until like 1am, so I’m thinking that *might* have had something to do with it.
I don’t feel like I got much from the morning lecture today (could also be related to tiredness), which was on ARGV and CSV parsing – the former I am pretty comfortable with, and the latter I implemented yesterday.
My pair and I worked on one challenge all day, but I still feel like I learned a lot. We were tasked with creating a command line ‘to do’ list application and, in order to practice some of the concepts from this week (and looking to the rest of the week) we decided to implement it in a very MVC way. We refactored a bit near the end to reduce dependencies between the model classes, and in the end we ended up with something that I felt was quite cleanly designed.
The afternoon lecture today was pretty brief – we were reintroduced to a lot of the various ‘assert’ methods that we had practiced during phase 0. I do sometimes wonder if there’s a bit of a gap in communication between those responsible for the phase 0 syllabus and the phase 1 syllabus, because a few times now they’ve ‘introduced’ concepts that we had spent a few weeks on already. However, we did go into detail on testing for errors being raised without having them actually interrupt execution (essentially building an ‘assert_raise’ method), which I found pretty useful. There hasn’t been any mention of it yet, but I get the feeling they’re setting us up to dive into rspec soon.