The idea comes from Pavlov's dog experiment. In the experiment he would ring a bell and feed a dog, over and over every day he would ring this bell and feed the dogs. after a while he could just ring the bell and the dogs would start slobbering as if they were eating.
The idea that you animal will associate the cage opening with food also assumes that the only time you open the cage is to feed. If once every 10-15 times the tub or cage is open a food item is presented I don't think that's enough to imprint the animal with the association between the two..
If feed close to 100 snakes every week in their tubs.. Like Jo said..odds are some are going to take a swipe at you..