From: dhtapp Date: 2003-11-17T10:28:29+09:00 Subject: Re: Duck Typing and Object Hashish Well, that's about as succinct as I've seen, and I appreciate it. It clears up the concept quite a bit for me. - dan "Dan Doel" wrote in message news:3FB27522.1070501@po.cwru.edu... > Just document that certain functions > require arguments to respond > to certain methods, and only call those methods with appropriate > arguments. And feel free to > unit test a lot to make sure everything responds as asked. > > Basically, it's design by contract without contracts being enforced with > code. > > Hope this helps. > > - Dan > >