It’s Sunday today. The end of another crazy week of learning how to code.
Almost every day this week I woke up at around 3am with my head full of code. I don’t know what exactly I was dreaming about but it was a mix of Ruby, SQL queries and string interpolation whizzing around in my brain. So I’m glad that I can relax a bit today.
Luckily I managed to finish my homework yesterday evening. Combining our knowledge of PSQL queries, Sinatra, Ruby and HTML/CSS we had to create a Youtube video library which allows the user to Create, Read, Update and Delete videos = CRUD!
But that’s not the only acronym we learnt this week. We also talked a lot about RESTful routing which is a specific way in which the HTTP verb (i.e. the order you give to the server) and the URL name are combined in Ruby code.
*I think*
Well, as long as I follow the example structure it seems to work, so I’m happy.
So that’s what we learnt on Thursday. On Friday’s agenda was a code quiz! Urgh… I don’t really like competition or quizzes.
We had to solve a quiz called Pling Plang Plong. Print out the numbers of 1 to 105 and write ‘Pling’ for every number that is divisible by 3, ‘Plang’ if it’s divisible by 5 and ‘Plong’ by 7. And if two or more apply you’ll get a combination of PlingPlang, PlongPlang and so on. Even though we have such limited knowledge of code, we had a lot of different solutions to this problem. Really interesting to see that! Some of us then submitted their solutions and Michael measured how fast the code ran. It turned out to be a really good fun Friday activity! So I won’t complain about quizzes in future.
In the afternoon we had time to ask questions about the things we learnt this week and I have to say that I knew most of the things! All in all week 2 went a lot better for me than week 1. I feel less confused.
And then it was time to go to the pub.
Which brings me to an important ‘side effect’ of this course. Not only do I enjoy the mental challenge but I also really, really like the people in my cohort. It’s kind of like being back in school where you get thrown in together with a bunch of random people and then spend every day with them in a small, airless room. And I’m happy to say that in our case it’s a really good bunch of random people! (The air in our classroom is terrible though.)
We have people from many different countries and with completely different backgrounds. Journalists, ex-bankers, recent university graduates, someone from a remote Greek island that I had never heard of, a girl who is going to live on a boat and travel Europe, an artist and Brazilian restaurant owner, a guy who laughs every time someone mentions the CRUD operations – he cracks me up.
It’s a really good mix of people. And they’re a lot of fun to hang out with.