It happens to all of us. No matter how good your intentions and aspirations for the day, somewhere it sours. When you reach the end, you realize you’ve had a bad day.
Maybe this means you didn’t meet your exercise goal for the day or you didn’t adhere to your diet. It could be that you were trying to finish a feature before code freeze, but missed the deadline. Maybe you really messed up and deleted a database and can’t recover it.
No matter the stakes, you can go to bed, wake up tomorrow, and make it a good day. At the very least, you can start your day with a positive attitude and see what happens.
Get back to your exercise routine. Eat better than you did yesterday. Finish that next feature proficiently. Go over the steps that caused you to delete the database and begin a new routine that will ensure you don’t make the same mistake again.
It’s like Doc Brown said in Back to the Future: Part III, “Your future hasn’t been written yet. No one’s has. Your future is whatever you make it, so make it a good one.”