From: Charles Hixson Date: 2003-11-24T02:21:18+09:00 Subject: Re: Partial Euphoric Type Checking (Super Duck!?) Austin Ziegler wrote: > ... > >Why not consider doing interfaces in Ruby as bundles of DbC >"contracts"[1]? That way, you get *dynamic* interfaces that aren't >necessarily simplistic name-checks, which is what I'm opposed to. > >-austin >[1] Thanks, Eivind, for the term >-- >austin ziegler * austin@halostatue.ca * Toronto, ON, Canada >software designer * pragmatic programmer * 2003.11.21 > * 09.56.54 > dbc contracts and unit tests are useful features. Nothing now known will really solve the problem, but those both ameliorate it. Do be sure, however, that the dbc contracts are only expensive while debugging. Because they can be *quite* expensive.