Under pressure…brain glitches!
I had my very first timed programming test today and boy, what a ride! I’ve been doing coding katas for the last 4 days since I learnt of this test. One needs to do “well” to get through to the next round, whatever “well” means these days. For me, it’s perfection…
This wasn’t a job application test, it’s one to get into code school and I really want to get in! While I’ve been teaching myself to code for nearly 19 months, it’s been jumping from one concept into another through courses with not much time to play around and really get intimate with the basics of algorithms between each one. It’s challenging juggling life with learning, especially when the grey matter’s been around the block a few times. The good old cerebral “sponge” has to make space for the new, squeeze out whatever’s redundant and not toss the baby out with the bath water! Well, ok, “forgetting” how to cook’s not too bad, makes for a great excuse….
Having spent the last few days almost living in codewars and hackerrank (I’m not affiliated with them at all, just an avid user), sneaking off while boiling beans and doing laundry to finish just one more kata, I tried to calm myself down thinking how hard can it be, right? It’s to get into a school to learn how to code.
Well, it was difficult for reasons I hadn’t imagined: tick-tock of the clock! One shot, that’s all you’ve got, tick, tock, tick, tock… No time to refactor, no time for extra tests, no time to ponder. Just get to green (i.e. make the tests pass)!
My code ended up very verbose, far too verbose for my liking of how eloquent Ruby should read. But it works, mostly anyway.
After refactoring, getting it all to work and breathing a sigh of relief for keeping my head about me, I now wait.
Or do more kata’s
Or redo in another language
Oops, there’s still laundry! (The beans were burnt..)