When we’re thinking “refactoring”, we usually focus on the small (and valuable) stuff. Names, method size. And that is important, and we’re talking APIs and microservices.

But I think we’re missing out on the bigger patterns – factories and repositories, for example. Especially when we’re talking in the architecture level, these not only help us communicate better. They help us organize the code (and therefore the design) better.

In this session, I’m taking an API, and refactor it according to well-known patterns. I explain the reasoning behind them, and also the benefits we gain from the changes, including extensibility and testability.

So check it out. And after that, take a look at my “Introduction to Microservices” workshop, where I dive in with even more details.

Enjoy!


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *