TDD for your technical interview

That technical challenge is coming, and when it does, do you want TDD by your side?

A true story

A year ago I had no experience with tests. During an interview, I was given the task of writing a method that returns the nth number of the Fibonacci series, without using recursion. I was so excited about this challenge, as I knew how the algorithm works and could confidently implement it without recursion. I even started thinking about performance optimisations! I was ready to get this over with; 3 people were looking at me and I was sure I was going to excel. Famous last words one might say!
Continue Reading