View profile

Testing strategy on legacy code and learning Rust with TDD πŸ”­ - Issue #9

Domenico Luciani
Domenico Luciani
Testing strategy with legacy code πŸ§‘β€πŸ’»πŸ‘΄
This month I’ve learned about the Mikado method, a great way to work with legacy code safely.
Essentially, through some small iterative steps, you will be able to explore the legacy codebase and assess what should be done to add new functionality.
This approach could also be used during an Exploratory Refactoring; neat, eh?
The Mikado Method: A Great Help to Work With Legacy Code – Improve & Repeat
How Certificates and PKIs work πŸ”
During one engagement I had to work massively with certificates, keystores, PKIs, HSM, etc. and at that time I needed an introduction to all these concepts so I started looking around when I finally found this article. It is a very comprehensive article about PKIs, how the certificate’s world works and it’s worth a read once in your life to at least understand what’s going on under the hood of your browser and how certificates protect your privacy.
Everything Public Key Infrastructure (PKI) - The Missing Manual | Smallstep Blog
TDD Katas πŸ“š
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.
TddBuddy
See ya πŸ”­
Thank you for reading this issue ✨
If you liked it don’t forget to suggest it to to your friends or share it on your socials.
See you β˜„οΈ
Did you enjoy this issue? Yes No
Domenico Luciani
Domenico Luciani @dlion92

Senior Software Engineer @VMware ~

Ex @Thoughtworks, @XPeppers ~

Traveller and curious by design ~ he/him

Extreme Programmer passionate about best practices, system design, security and IoT.

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.