Learning a new language can be cumbersome for many reasons and looking for a way to do it efficiently I discovered that practising TDD helps me to do it, faster.
My colleague Marco Garogalo
pointed me out to a website called TDD Buddy where you can find a nice katas collection that you can solve using TDD.
I decided to spend some time trying to learn Rust solving those katas, how is it going? I actually completed 2 katas with just the Rust doc and TDD. 🎉
Every time I have to refactor, it forces me to dig deeper into the Rust world, it forces me to use proper structures or rust functions.
I can literally see my understanding evolving over time, making small controlled changes to my codebase focusing only on what matters, safely.