There is often a work culture that you should be busy all the time - if you are a programmer you should always be typing and producing code. Programming is a mental process and so requires thinking. Sometimes a little thought upfront saves a lot of pain and work down the line.
The article below has a potentially controversial headline but sums this up really well. Being perceived as lazy as a programmer can actually be a good thing. Most of the best programmers I have worked with tended to be at the lazy end of the scale - they spend time thinking about the problems and looking for ways to automate tasks.