Togetherness AKA: simple testing can prevent most critical failures

One of the things I love about my profession is that it inspires empathy for people that I have never met, never spoken to or even exchanged emails with.
How? Through code comments (that’s how).

Code comments are generally short and acerbic.
On occasion they are philosophical.
And in the best cases they reveal a profound sense of confusion and utter desperation.

Here are some gems from Ding Yuan’s talk on testing in large scale distributed systems.

catch (NoTransitionException e){
// why can this happen? Ask God not me.

This one’s from an optimist.

/* if this happens, hell will unleash on Earth. */

It almost certainly isn’t.

/* TODO: are we sure this is OK? */

This one’s from a realist.

/* TODO: this whole thing is extremely brittle */

There are a few more of these, and a great deal of fascinating insight into the benefits of static review in Ding Yuan’s complete talk.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s