Hacker News new | past | comments | ask | show | jobs | submit
I knew it. I keep asking people why they're constantly checking if an attribute might be empty.

One particularly bad instance consisted of someone checking for the existence of an attribute on a class they had created themselves.

When I asked why they didn't simply ensure the attribute existed they got defensive.