Sometimes it also depends on the specific version, like when you need to deal with empty arrays - https://stackoverflow.com/questions/7577052/bash-empty-array...
The answers there are just a few of the many great examples of why bash is best avoided in almost all cases.