282 Views
A guard in general is to protect against the damage that may happen in the future. In computer programming, a guard is a boolean expression that must evaluate to true if the program execution is to continue in the branch in question Failing fast is a good strategy when writing code.
0 comments