Ask HN: How to deal with failure as a programmer?
I consult multiple businesses with their software projects for decent rates, however yesterday I got a call that I lost a client several hundred dollars in sales &amp; subscribers and created a small accounting nightmare by messing up a part of the stripe integration. The problem was not apparent when he had 20 customers, has been lingering as I was away and now that he has several hundred subscribers certain parts are falling apart and he is furious.<p>At the same time I am booked for another client and am likely going to under-deliver by their deadline and the project has been a bit of a nightmare.<p>People don&#x27;t seem to call when everything is going well and just pay their invoices, but when something goes wrong I am the person that wrote the broken code at the end of the day.<p>I enjoy writing code, and most of the time everything goes well and everybody is very happy.<p>But today is not one of those days, today I had 2 people independently shouting at me on the phone. Is that just part of running a business and growing up? Is that just part of being responsible for complex things? How do you deal with that stress on a psychological level?