Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: The world is not object oriented

by castaway (Parson)
on Jan 02, 2004 at 11:04 UTC ( #318282=note: print w/replies, xml ) Need Help??

in reply to The world is not object oriented

If I had to describe OO off the top of my head, then I'd probably say that it's used when you have a bunch of similar things, in which the method is the same, and only the data changes. I often wonder why it is that RW examples get used when trying to describe it. For some reason, cups with different contents just entered my mind while thinking about this, the next thing that occured to me was Databases, and that Class::DBI which I thought was a strange overuse of OO when I looked at it, seems to be the classic implementation of such a RW example. And it looks.. like a lot of overkill (a class per table..)

In short, OO solutions seldom tend to mirror the way we describe OO, mini classes for everything just seem wrong.

I agree with your points, in particular, that programming is not directly used to resolve real world problems. Its used to assist people in solving problems, by removing the tedium of some repeated calculations, and for (storing/accessing stored) data. (I wont say its about Interfaces and such, since these only come about if something is solved by programming)

Now I'm trying to figure which of the Mathematicians I am (or was) .. I guess analytical..

And thanks for the link to Design Patterns considered harmful and the various links there.. it got me thinking..


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://318282]
[LanX]: ah yes! And he called her Kit and she could talk while a light was going from her left to right eye and back...
[erix]: choroba: pretty impressive! :)
LanX imagines which nations would be dominating if the winter olympics were invented in East Asia
[LanX]: Corion: and that's the clue how Germany can dominate Handball tournaments, just continuing the domestic league and forbidding the best players of the world to attend :)
LanX (which would be a good scheme for England and football too)
[LanX]: If "Canada will play the Czech Republic for bronze on Saturday", that means Germany will play Syria in disguise...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2018-02-23 16:40 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (303 votes). Check out past polls.