in reply to perl, Class::DBI and OO for dynamic languages
Totally. It's also an argument for well defined interfaces in static languages, so in this case, it's best to code in your static languages in ways that the type of the object is not important to you -- i.e. base classes and interfaces.
of course I like duck typing much more...
|
|---|