Bonjour à tous! Comment ça va?
Some of you may already know why we started our post in French. The answer is hidden right over here!
We're going to Paris! Can you imagine that? :) That's so cool. dotRB conference seems great - the speakers, the venue and the workshops next day (hope, we'll grab spots). And Konstantin Haase will be there too :) We're going to apply for a lightning talk :) but for your confidential, standing in front of all those people, real ruby coders, may be a little frightening. OK, seriously, they are like super heros for us. Oh.. now we're not that sure about the LT idea... Nevermind. We can't wait 'til we meet Highway to Rails and Carla D from inchworms! :)
Tree is growing
Our main goal for Monday.. and as we saw later, for Tuesday, Wednesday and Thurs.. for this week was to write a json parser. Why?
In the original json file every endangered creature :) look like this (short version):
[
{
"class_name":"Aves",
"family_name":"Accipitridae",
"full_name":"Accipiter brevipes",
"genus_name":"Accipiter",
"kingdom_name":"Animalia",
"order_name":"Falconiformes",
"phylum_name":"Chordata",
"species_name":"Brevipes",
}
]
To make our taxonomy tree work well, as we want it, we had to change the structure from list of hashes to a tree like this:
![]() |
| json structure we wanted |
More complicated, huh? :) This task has shown us the difference between working code and code that is working and readable. It took our coach Łukasz (@mokrzu) around 30 lines to write the same parser. 30 vs 120. Yep. It hurts us too. But it's just a strong motivation for the further learning. We've seen a beautiful code and can't forget it. It will stand in front of our eyes like Golden Fleece. And, damn we're telling you, we will get it!
Courses
As about getting better and better in dev-stuff we continue Startup Engineering course on Coursera (quizes: HTML, CSS and Git passed 100%) as well as CS-169.1x Software as a Service on edX. The second one, week 4...
Magic vegetable! We're not as crazy as it sounds. There is a magic vegetable! Who wouldn't like to hear on university, during the serious lecture "we're going to make a cuke dance..."?
It's all about BDD - Behavior Driven Design and user stories.
// 5 seconds of digression: one of our lecturers, who was helping us to dive into data bases, gave us the gold hint: if you want to sound like a dev, you've got to use a lot of 3-letters-length acronyms. So here we are! //
Magic vegetable! We're not as crazy as it sounds. There is a magic vegetable! Who wouldn't like to hear on university, during the serious lecture "we're going to make a cuke dance..."?
It's all about BDD - Behavior Driven Design and user stories.
// 5 seconds of digression: one of our lecturers, who was helping us to dive into data bases, gave us the gold hint: if you want to sound like a dev, you've got to use a lot of 3-letters-length acronyms. So here we are! //
Cucumber looks really useful and nice to use :)
Friday hug
No Friday hug today. Just kidding :)
We love you!
Alicja & Wiktoria

No comments:
Post a Comment