There is a lot of truth to the "plant a garden" thing and the potted plants. We have both in the yard and of my last 8 deer kills, the furthest from my house has been 125 yrds...and I only went that far out because he was worth the "trip"...a 170 inch Mule. all the others have been 80 yrds or less. The wife has a constant war on with deer throughout the summer over them picking certain flowers out of her hanging pots, all within 15 yards of the house. Potted plants get most of their visits during late evening or at night but the garden can have deer in it any time of the day...and she has to physically make an attempt to remove them, usually they hold until she gets within 40 yrds of them.
About the only garden plants we plant that they don't regularly hit is carrots, wont touch them but peas can be eaten off to the roots. One thing that surprises us is that they will eat onion tops to the ground but if a complete onion is pulled, they wont eat the actual onion.
Oh I don't disagree with them, I was just being light hearted about their advice.
A garden is something I will think of for the future.