[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Interfaces in Ruby
From:       Nat Pryce <nat.pryce () b13media ! com>
Date:       2002-10-18 14:20:43
[Download RAW message or body]

On Fri, 2002-10-18 at 14:42, Paul Brannan wrote:
> The intent of an interface is not to cerfity a particular behavior.  It
> is to certify that the author's intent is for the class to have a
> particular behavior.

Isn't that the point of comments and/or documentation.  I'd argue that
if the only point of an interface is to act as a comment, then it should
be left as as a comment. 

Regards,
	Nat.

-- 
Dr. Nathaniel Pryce, Technical Director, B13media Ltd.
Studio 3a, 22-24 Highbury Grove, London N5 2EA, UK
http://www.b13media.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic