I don't agree on the stupid part at all, and laziness can be a positive trait for someone who writes code!
It's a concept I first read about in "Programming Pearls", my absolute favorite book on coding; laziness stops you from rushing in and coding the first idea that pops into your head, and forces you to rethink how you can write something in six lines of code instead of a few hundred.
Or to give another example, it forces you to write an easier-to-understand platformer kernel because the thought of deciphering a bunch of complex code is tiring.
The trick is overcoming the laziness when it's really time to code!