Bookmarks tagged [refactoring]
https://martinfowler.com/articles/replaceThrowWithNotification.html
If you're validating some data, you usually shouldn't be using exceptions to signal validation failures. Here I describe how I'd refactor such code into using the Notification pattern.
- 📆 published on: 2014-12-09
- tags: exception-handling, architecture, refactoring
https://www.youtube.com/watch?v=APUCMSPiNh4
It has been said that immutability changes everything. But what does that mean in practice? What does it mean for existing code that looks more like the muta...
- tags: refactoring, immutable
https://martinfowler.com/bliki/ParallelChange.html
Parallel change, also known as expand and contract, is a pattern to implement backward-incompatible changes to an interface in a safe manner, by breaking the change into three distinct phases: expand,...
- 📆 published on: 2014-05-13
- tags: api-design, rest, refactoring
Refactoring.Guru makes it easy for you to discover everything you need to know about refactoring, design patterns, SOLID principles and other smart programming topics.
- tags: refactoring, design-patterns