From Fear to Love TDD
TDD means Test Driven Development. I had encountered it before while doing some quick tutorials on python or node or angular… I’m not quite sure. I did them just to get through with the section they were in and get going.
Fast track to the Andela Bootcamp and Interview and it’s all over. First it looks like a nightmare as you are asked to do coding interviews online. Somehow it becomes a friend as it’s the marking scheme for what is needed, nothing more and nothing less. If you write 1000 lines of code that pass the test fine, if you write two fine. What matters is only the test.
So even when writing your own functions you should create simple tests. These will make you produce simpler solutions.
So I’ve been fascinated and I went to find out more about it on Wikipedia :)
Kent Beck, who is credited with having developed or ‘rediscovered’ the technique, stated in 2003 that TDD encourages simple designs and inspires confidence.