Avoid deep nesting by testing error case first and exiting/returning immediately.
Instead of :
If foo then
bar
Else
baz
Endif
Now I write: If foo then
bar
return
Endif
baz
Exit early makes the code easier to read and understand