From: Gavin Sinclair Date: 2004-05-10T07:10:19+09:00 Subject: Re: [ANN] interface 0.1.0 On Monday, May 10, 2004, 2:26:57 AM, James wrote: > Designer/developer theory question: > Do interfaces have a place in dynamically-typed/duck-typing languages? Yes, if the developer thinks they have a place :) > Does the use of interfaces in Ruby encourage a poor (or, say, less > robust) design? I don't understand this question :/ > They seem like a handy way to embed assertions into code to ensure that > something blows up sooner than later, though perhaps the usual TDD > arguments apply here. They do apply, but it's not the end of the story. Being able to selectively apply this interface approach (and/or the StrongTyping module) is a good thing. If I were forced to use it with every class I create, it would be frustrating, to say the least. Cheers, Gavin