Using the shebang just helps highlight the fact that the rule is in use globally, but otherwise has no advantage to using `set -u`.
The clarifications on `-u` and arrays are useful. I'm definitely used to assuming newer (... non-ancient?) versions of Bash are what is available.