I'd dissect this as:
1) you violated the 6p principle (proper planning prevents p....) where was the spare tube or patch-kit you always carry with you? (you do always carry one of those with you right?)
2) leaving the pump at work was asking murphy's law to deliver you a flat tire.
3) always always always check pressure before heading home. I got a pinch on a rear tire I thought "looked ok" now I always check the pressure before heading home.