RE: Re: The trouble with classes
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user,gmane.spam.detected |
|---|---|
| Message-ID | <000301c45944$f5913940$0b01a8c0@mark> |
From: Paul Prescod > Mark Hahn wrote: > > >... > > In this case proper contract-checking would solve the problem. In > >other words your second code sample should be asking the instance > >about it's contract in a more intelligent way. > > You mean like obj.adapt_(...)? Yes, I was baiting you :-)