From: Rick DeNatale Date: 2008-05-23T05:36:11+09:00 Subject: Re: OOP in Ruby? On Thu, May 22, 2008 at 1:03 PM, James Britt wrote: > aidy wrote: > Anyone know of any good resources regarding OOP in Ruby? > > Designing Object-Oriented Software by Rebecca Wirfs-Brock is quite good. A classic indeed! > Be mindful that not everyone has the same idea of what it means to be OO; > Ruby is largely message-oriented (unlike, say, Java's form of OO). (And not > everyone who writes about OO in Ruby sees it that way. Caveat lector.) Which is why Rebecca's book (actually Rebecca, Brian (Wilkerson), and Lauren's (Wiener) book, is appropriate for Ruby. This was one of the early books approaching OO design in the context of Smalltalk, which introduced the computation by messages between objects. It advocates a role-based approach rather than the abstract-data type approach, corresponding to the C++ (and to a large extent Java) view of OO. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/