Check out this link to understand more about this important topic: http://members.ping.de/~sven/dpi.html
Quote:
Coders fail all day. They’re at their computers all day coding away, coding away. They have breaks, they have bugs, but they’re at their computers all day trying to fix it, fix it, fix it. At the end of 10 hours (or however long it takes for coders to do things) they have a perfect product, they have a perfect application, because they failed. If you fail a lot, the successes will be greater. — Eugene Hennie