It only takes five seconds to nail a box to a stud and put a staple or two in. Some people are so lazy....
The 2011 has clarified where the box must be installed.
Just went to a code update class where one electrician commented that they always float the box for easy access later. Guess that the inspectors never stick their head in there after the tub is installed.