1.. 2.. FIZZ!
Ring any bells? What if I continue? 4.. BUZZ! That innocent Fizzbuzz game teachers made you play in primary school to learn your times tables that you corrupted by turning into a drinking game at uni? Oh yeahhh… That. That was our task this week. Our aim was to create a FizzBuzz program, a pretty straightforward task by our standards now, except we were to use it as an opportunity to pair program and to start incorporating TDD into our coding habits.
Thankfully, the July cohort were right when they reassured us that Chris Pine week (aka PreCourse Week 2) would be the most difficult, and once over that hurdle, it would be an easier ride for the remainder.
I find it incredibly reassuring when I google ‘recursion’, the concept I really struggled with on this week’s challenge, this post on topcoder.com came up as one of the top results:
‘It is often hard, however, to see how a problem can be approached recursively; it can be hard to “think” recursively’
Yep, you can say that again. Of course it’s hard to think recursively. I’ve been educated my whole life to ‘get to the point’. To ‘stop going round in circles’. And now, I’ve find out that actually this is one of the most powerful tools in programming. I had some unlearning to do!
The Makers Academy PreCourse takes place in the four weeks prior to the three month bootcamp and involves completing set challenges and going through learning materials remotely from wherever you’re based.
Our first challenge was based on understanding the command line and git. Our task? A murder mystery to be solved by using only the command line to navigate a huge number of files and search for clues. Ummm, what? I’ve only been using the command line to execute my .rb files so far… which I made in SublimeText… and I’m not allowed to use that?!