Guard clauses are if constructs that return early if there is an error that prevents continuing. This way there isn't a big nesting of if expressions. |
||
|---|---|---|
| .. | ||
| check_for_upgrade.sh | ||
| install.sh | ||
| require_tool.sh | ||
| theme_chooser.sh | ||
| uninstall.sh | ||
| upgrade.sh | ||
Guard clauses are if constructs that return early if there is an error that prevents continuing. This way there isn't a big nesting of if expressions. |
||
|---|---|---|
| .. | ||
| check_for_upgrade.sh | ||
| install.sh | ||
| require_tool.sh | ||
| theme_chooser.sh | ||
| uninstall.sh | ||
| upgrade.sh | ||