Guard Clauses
Weekly Dev Tips - Podcast készítő Steve Smith (@ardalis)

Kategóriák:
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.