Failure and success are given by God. Most of the successful people mark their success after a couple of tries. One should not be ashamed of failure, but remained failure is the problem. One should keep trying one way or another.
What is “shit?”
Failures teach better than teachers. It is because one can learn from his failure.
One should maintain a journal for his failure. Which can be very useful in the long run to form a healthy. Failure and Success are part of everyday life.
Gram Bell invented the phone; before his invention, he failed a couple of times. If he did not learn from his failure, probably, he would not have developed the phone. He learned from his failure and tried a different way that works for him.
As Steve Prefontaine said, Don’t let fatigue make a coward out of you. The road to success is based on many failures.
In programming, every problem can have a thousand solutions. Therefore, it is necessary to keep trying.