As a designer who codes I've never understood this mentality. I sketch out wireframes, take them to PhotoShop, and flush out the HTML, CSS, and JS. Perhaps if the structure of your team isn't suited for this workflow it could end up hindering the design process but I find it to be quite enjoyable.