
Clean Code: Guard Clauses and Early Return
Getting rid of the arrow anti-pattern and writing business rules as a flat flow: guard clauses, early return, and how to test them with unit tests.

Getting rid of the arrow anti-pattern and writing business rules as a flat flow: guard clauses, early return, and how to test them with unit tests.

Splitting the seat, no-fly, passport, amount and promo checks of an airline booking into independent links of a chain, with Spring Boot.