What is a guard clause?

Why using guard clauses?

What to guard against?

Pre-conditions

Post-conditions

Public vs private

How to handle guard clauses exceptions?

Why exposing guard clauses?

Why creating a guard class

Summary

Senior software developer, independent consultant and blogger