I was looking at Google's style guides for their bash scripts, and saw that they quote the exit status variable $? here.
if [[ "$?" -ne 0 ]]; then error_message fi
I thought return values are always numeric, so is there any reason to ever quote them?
Is it just a good habit to get into (because you want to quote other special shell variables like "$@")?