Monthly Archives: January 2012

Beware of Optional Curly Braces — They Will Bite You

I was looking through some PHP code from a third-party vendor recently, and saw something that made my jaw drop. It’s pretty innocent-looking, at first. Here’s a somewhat anonymized and genericized version of the code, but the thing that bothered me is still intact. It’s not really a bug, per se; the code will function as […]

A Single Context for All Social Interaction: Merely Quixotic, or Dangerously Misguided?

I recently read a blog post by Leo Widrich, the co-founder of Buffer, entitled “Why do we have so many lives?” In it, Mr. Widrich says: We have a private life, a public life. We have a work life, a school life, a party life, a love life and I am sure you can name lots […]