Guard Clauses
Weekly Dev Tips - Ein Podcast von Steve Smith (@ardalis)

Kategorien:
Your methods should fail fast, if doing so can short-circuit their execution. Guard clauses are a programming technique that enables this behavior, resulting in smaller, simpler functions.