Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #5046
| From | Michael Sokol <mikaa123@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Object-Oriented thinking |
| Date | 2011-05-25 12:43 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <D15B22DCAFE74BC98568F1A7B8BF8566@gmail.com> (permalink) |
| References | <BANLkTikscf+gkAPgfBh4h30RZ55tj_vSVw@mail.gmail.com> <201105242212.42148.ninja@slaphack.com> <BANLkTimftDtNmpcJoydCkXiibLDq3-7VXA@mail.gmail.com> |
[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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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