News for hackers. Stuff that matters.
Re:True, False And Nil Objects In Ruby by stcredzero on Wednesday September 09, 2009 @02:18AM (#812644)
My stock solution to libraries with, let's call it, "substandard polymorphism" -- facades and/or wrappers. This often lets you put all of your conditional logic for dealing with the errant library in just one place. It's better than nothing. Sometimes, it's a lot better.

There are no comments on this comment yet.