From: Sean O'Dell Date: 2004-06-11T00:33:17+09:00 Subject: Re: [ANN] Ruby/Interface On Thursday 10 June 2004 01:28, Jean-Hugues ROBERT wrote: > At 04:55 10/06/2004 +0900, you wrote: > > Should be implement?() vs implements?() I believe. > See include?() for example. > That is a nice Ruby idiom. It's not proper English, but perhaps implement? is more "Ruby." > Also: You are using both "declarative" (like "implements") > and "imperative" styles (like "add_pattern). I feel like > "declarative" style would be appropriate in both cases. On this I totally agree, except for one thing. Since I can't do: interface IHash pattern [](key) end ...to create the interface (like class or module) I don't feel like declarative is the way to go. I have no choice but to build interface procedurally, so I felt that more action-oriented methods were better. I think if Matz ever gives developers the ability to do what I did above there, I would switch to something more declarative. Sean O'Dell