To Test A System, Isolate Side-Effects – Fagner Brack – Medium

Taking out side-effects is one of the best ways to build testable code

Source: To Test A System, Isolate Side-Effects – Fagner Brack – Medium

Stick to the Command-Query Separation principle and your life will be easier.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.