From: bbense+comp.lang.ruby.Apr.10.02@... Date: 2002-04-11T07:54:43+09:00 Subject: Re: OO/Ruby Terminology -----BEGIN PGP SIGNED MESSAGE----- In article , wrote: > > >I should have been more clear, and used explicit Ruby code rather than >GenericOOLangauge code (which looked like Ruby code). > >Given this Ruby code: > >my_foo = Foo.new >my_foo.bar > > >A reader learning OO and/or Ruby would be better served if this were >described as: - - I think a lot depends on their background. > >1) Sending the message bar to my_foo - - If they've seen smalltalk or objective C. >2) Calling my_foo's bar method. > - - C++ programmers. Personally, I would be happier with the first usage, but I suspect it will confuse people without a smalltalk background. IMHO, objects get messaged, classes have their methods called. - - Booker C. Bense -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBPLS9kwD83u1ILnWNAQF5OQP/XPLOYfwlklk9voIVylS4ZbxJTVkpU8vy R/u0bXaCd3QdsnxLvS74pM1vWn+aioUHu/9bgzpGOI3MO3cB9XNdTXq3FDyT5w+E IxZCh/cpx18Pt1F5vv2+2Bd3zdU2arqew2HZepn/BdP9DMA9gne7oyk8604gpVNE ZHC+qa0MqGw= =/weC -----END PGP SIGNATURE----- --