From: Robert Klemme Date: 2008-11-05T16:57:05+09:00 Subject: Re: Ruby's take on S.O.L.I.D. 2008/11/3 Mike Lopke : > I'm curious about everyone's take on Bob Martin's S.O.L.I.D. design > principles. They seem to be getting a lot of traction with statically > typed languages such as C# and Java but I haven't heard much buzz about > it in the Ruby community. > > Any thoughts on how duck typing impacts the usefulness or necessity of > these design principles? For instance, I don't really hear much > regarding Liskov's Substitution Principle around Ruby programmers and am > interested in opinions as to why. Probably we do it all the time - and not only with sub classes but with completely unrelated classes (-> duck typing). :-) IMHO you used an important word: "buzz". These principles have their value where applicable but should never be followed religiously. It does makes sense though to reason about them and understand their value so you can judge when to apply and when not. Another reason for the observed lack of "buzz" might be that the Ruby community generally seems to be more focused on getting things done and not less interested in, err, theoretical debate than maybe other communities. ;-) (Which, btw, does not mean that there are enough people around here with brilliant ideas and excellent solutions.) Just a few random thoughts... Kind regards robert -- remember.guy do |as, often| as.you_can - without end