The 'we' in team

December 14, 2006 18:57 by dgood

Ever look at some code and see anything similar to this:

//
// make sure we're not null
//
if (m_settings[item] != null)
  return m_settings[item].ToString();

Every Day? Me too.

Ever wonder why so many programmers assume the double identity of the variable they're currently working with when they write the comment?  "make sure we're not null" As though, at runtime, the developer suddenly becomes null too.

Interesting.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Comments are closed