OJ’s rants What would OJ do?

10Feb/098

Always Question the Source (aka “Don’t Lock on Type Objects”)

For one reason or another, I recently found myself perusing some code based on the CSLA framework. While nosing around I came upon a snippet of code that I found rather disturbing. An example can be found here in the function called InitializeAuthorizationRules.

For those who are lazy, here is the particular snippet of code that caught my eye: