What's your understanding of this phrase?

I hear it used as an either-or metaphor: offer the carrot but be prepared to use the stick; AHD defines it this way. But I visualize it as a carrot dangling from the end of a stick, just ahead of a donkey, for example, to keep him moving along.