Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #5046

Re: Object-Oriented thinking

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!talisker.lacave.net!lacave.net!not-for-mail
From Michael Sokol <mikaa123@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: Object-Oriented thinking
Date Wed, 25 May 2011 12:43:48 -0500
Organization Service de news de lacave.net
Lines 13
Message-ID <D15B22DCAFE74BC98568F1A7B8BF8566@gmail.com> (permalink)
References <BANLkTikscf+gkAPgfBh4h30RZ55tj_vSVw@mail.gmail.com> <201105242212.42148.ninja@slaphack.com> <BANLkTimftDtNmpcJoydCkXiibLDq3-7VXA@mail.gmail.com>
NNTP-Posting-Host bristol.highgroove.com
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace talisker.lacave.net 1306345458 95429 65.111.164.187 (25 May 2011 17:44:18 GMT)
X-Complaints-To abuse@lacave.net
NNTP-Posting-Date Wed, 25 May 2011 17:44:18 +0000 (UTC)
In-Reply-To <BANLkTimftDtNmpcJoydCkXiibLDq3-7VXA@mail.gmail.com>
X-Received-From This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway
X-Mail-Count 383756
X-Ml-Name ruby-talk
X-Gateway-Modified [Note: parts of this message were removed to make it a legal post.]
X-Rubymirror Yes
X-Ruby-Talk <D15B22DCAFE74BC98568F1A7B8BF8566@gmail.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.ruby:5046

Show key headers only | View raw


[Note:  parts of this message were removed to make it a legal post.]

Thanks a lot to everyone who replied.

I really appreciate the quality of the answers I got. I took a look at the "Object Thinking" book mentioned by Mike Moore. I'm not sure if I'm too fond of the "human" metaphor for objects, although it works, and it makes designing software a little more like playing a RTS game ;)

Reading about the javascript object model (beautifully described) made me realize that there's no point for a OOP programmer to care about the internals - other than for the personal culture or for working for performance. I guess each language implements OO its own way, but the concept of an object remains the same, whether you're doing class-oriented or prototype-oriented.

I've been taught that an important thing to master programming is to fully understand the flow of your program. I have been interpreting that all along as "knowing in which function you are", which isn't relevant in OOP, and for a good reason, since your objects take care of that for you.

I like the idea of an object being thought about as a independent program - a sort of compiled version of its class. Classes themselves being also a compiled version of their meta-class.

Michael Sokol 

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Object-Oriented thinking Michael Sokol <mikaa123@gmail.com> - 2011-05-20 12:58 -0500
  Re: Object-Oriented thinking Mike Moore <blowmage@gmail.com> - 2011-05-20 14:10 -0500
  Re: Object-Oriented thinking Stu <stu@rubyprogrammer.net> - 2011-05-20 19:17 -0500
  Re: Object-Oriented thinking Robert Klemme <shortcutter@googlemail.com> - 2011-05-23 02:23 -0500
  Re: Object-Oriented thinking Mike Stephens <rubfor@recitel.net> - 2011-05-24 12:52 -0500
    Re: Object-Oriented thinking Christopher Dicely <cmdicely@gmail.com> - 2011-05-26 02:32 -0500
  Re: Object-Oriented thinking David Masover <ninja@slaphack.com> - 2011-05-24 22:12 -0500
    Re: Object-Oriented thinking Mark T <paradisaeidae@gmail.com> - 2011-05-25 01:10 -0500
      Re: Object-Oriented thinking Michael Sokol <mikaa123@gmail.com> - 2011-05-25 12:43 -0500
        Re: Object-Oriented thinking Mark T <paradisaeidae@gmail.com> - 2011-05-25 22:06 -0500
    Re: Object-Oriented thinking David Masover <ninja@slaphack.com> - 2011-05-25 13:36 -0500
      Re: Object-Oriented thinking Jörg W Mittag <JoergWMittag+Ruby@GoogleMail.Com> - 2011-06-07 14:32 +0200
        Re: Object-Oriented thinking Stu <stu@rubyprogrammer.net> - 2011-06-07 16:12 -0500
          Re: Object-Oriented thinking Mike Moore <blowmage@gmail.com> - 2011-06-07 16:22 -0500
            Re: Object-Oriented thinking Stu <stu@rubyprogrammer.net> - 2011-06-07 16:40 -0500
  Re: Object-Oriented thinking Eleanor McHugh <eleanor@games-with-brains.com> - 2011-06-19 08:30 -0500

csiph-web