refactoring.md

July 15, 2021 ยท View on GitHub

Bookmarks tagged [refactoring]

www.codever.land/bookmarks/t/refactoring

Replacing Throwing Exceptions with Notification in Validations

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.


Refactoring to Immutability - Kevlin Henney - YouTube

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...


Parallel Change

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,...


Refactoring and Design Patterns

https://refactoring.guru/

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.