IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New OOP is no use for relatively small apps.
OOP is of little of no use when you write stuff at JavaScript level. And even in that case, youend up calling metods, even if you call object "handles".

On the other hand, in a large project there happens a point where your own data structures/code become as complex as underlying DB access code/data. So, if you agree that OO is good for writing "those internals", you may consider usong OO for your own code, as it grows as complex as "internals". As long as you can manage w/o "handles" (objects) and APIs (member functions) - fine, keep on using procs.
Expand Edited by Arkadiy Jan. 22, 2002, 07:21:26 PM EST
New on scalability
>> And even in that case, you end up calling metods, even if you call object "handles". <<

Taking credit for handles is going al gOOre overboard. A handle is simply an ID that points to a larger thingy. That is as much a database concept as it is OOP.


>> On the other hand, in a large project there happens a point where your own data structures/code become as complex as underlying DB access code/data. <<

IMO, the p/r model is *more* scalable for these reasons (at least):

1. One focuses generally on one task at a time, regardless of the project size.

2. Tables and large ER setups are easier to grok than large class networks. (Usually a lower protocol-coupling ratio also).

3. P/r tends to factor common patterns into tables instead of code structures, where non-programmers or newbies can manage the control info without ever touching code. The Report Manager example is a case in point: most new reports are simply specified with data in tables. OTOH, most OOP puts all that info in code, where attributes and algorithms are all mixed together in a hard-to-navigate soup.

ADMIN: is there an area we can take these battles so that they don't "clutter" the regular stuff? I know that some of you don't like these kind of discussions. Thus, if they can be moved to a dark corner somewhere, they may not bother you as much.
________________
oop.ismad.com
New Thingy
Here is a challenge for you. Try to explain what a handle points to without using a word that is a sinonym of "object".

WRT taking credit: I am not. I am actually saying that handles and APIs have a lot to do with the appearnce of OOP idea. The idea of object was somewhat derived from them. And then, it turned out, the better is an API written, the easier it fits into that new approach (better in a sence that existed _before_ objects).

WRT scalability: I've never said that there are no other good approaches that scale up. I am just saying that OOP does not scale down quite as well.
New All Your Nouns Are Belong To Us
>> Here is a challenge for you. Try to explain what a handle points to without using a word that is a sinonym of "object". <<

That is a little hard since any noun could be called an "object". Every paradigm deals with nouns, just differently. OOP simply tends to group and focus on them more than others. Its philosophy is that Nouns is King. IOW, it does not just "have" nouns, it elevates them.

But the practicality of it is that I don't know what handles point to in most cases. It could be pointing to gerbals on treadmills powering the database. That implimentation detail is abstracted away such that the app developer does not have to worry about that when they use the handle. Perhaps OOP implements gerbals better, but that won't help the handle user because they don't see the basement.



________________
oop.ismad.com
New How very interesting.
He almost gets it, Arkadiy...

Wade.

"All around me are nothing but fakes
Come with me on the biggest fake of all!"

New And youses can *almost* articulate the benefits
>> He almost gets it, Arkadiy... <<

The only thing solid you have come up with is that some OOP langs can protect against the wrong ID (handle) being used on the wrong entity/object/gerbal/thingy. There are ways to do such without OOP if it was really a signficant issue.

Is that the best you can do? It does not extrapolate into the "dynamically typed" OOP langs. Does that mean we should toss those? Jay is gonna be sad.

Rasberries for all
________________
oop.ismad.com
     PHP quibbles. - (static) - (77)
         And the documentation is worse - (drewk) - (74)
             That's a wierd one. - (static) - (73)
                 Empty(OOP) - (tablizer) - (72)
                     Classes in PHP. - (static) - (71)
                         Feathering my Ruffles? - (tablizer) - (70)
                             Do you really want to know? :-) - (static) - (69)
                                 Same thing in phpIWT - (admin) - (2)
                                     References? - (static) - (1)
                                         The issue... - (admin)
                                 why subclass? - (tablizer) - (63)
                                     If you won't get it, please say so. - (static) - (62)
                                         I *never* "got" classes. You know that. - (tablizer) - (61)
                                             Well, with that out of the way... - (static) - (58)
                                                 apples to oranges - (tablizer) - (57)
                                                     I'm sorry? - (static) - (56)
                                                         I don't believe you - (tablizer) - (53)
                                                             "and that is why you fail". - (static) - (52)
                                                                 Looks syntax-heavy to me - (tablizer) - (51)
                                                                     I really wonder why I'm doing this. - (static) - (50)
                                                                         no gap - (tablizer) - (49)
                                                                             Yes, there is a gap. - (static) - (1)
                                                                                 not just a "mere add-on" - (tablizer)
                                                                             I think I see what's going on... - (Arkadiy) - (46)
                                                                                 handles == pointers or ID's to bigger things - (tablizer) - (45)
                                                                                     Looks like we're in agreement. -NT - (Arkadiy) - (44)
                                                                                         So "OOP is of little or no use for custom biz apps" - (tablizer) - (43)
                                                                                             No, that part is incorrect. - (static) - (16)
                                                                                                 re: compile-time protection - (tablizer) - (3)
                                                                                                     Go away, Bryce. - (static) - (2)
                                                                                                         Okay, but first I have to get the last word in - (tablizer) - (1)
                                                                                                             Oh my... - (folkert)
                                                                                                 The king of OOP is typeless - (Arkadiy) - (11)
                                                                                                     I agree with your premise, but.... - (tablizer) - (10)
                                                                                                         People's brains are different indeed - (Arkadiy) - (9)
                                                                                                             head survey? - (tablizer) - (8)
                                                                                                                 Re: head survey? - (wharris2) - (1)
                                                                                                                     Is that why she walks funny? :-) -NT - (tablizer)
                                                                                                                 Here's an idea for you. - (static) - (1)
                                                                                                                     how != why - (tablizer)
                                                                                                                 Getting inside your head... - (Arkadiy) - (3)
                                                                                                                     Maybe in a new thread though... ;-) -NT - (admin)
                                                                                                                     (I moved discussion to Flame Quarantine area) -NT - (tablizer) - (1)
                                                                                                                         Not necessary... - (admin)
                                                                                             AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH - (folkert) - (19)
                                                                                                 answers: no, 3, whatever, chicken! -NT - (tablizer) - (18)
                                                                                                     You missed the meaning again... Same as always... - (folkert) - (17)
                                                                                                         I prefer readable scripting languages -NT - (tablizer) - (16)
                                                                                                             Then you cannot know... - (folkert) - (15)
                                                                                                                 Give me tools that fit the way I think and I can..... - (tablizer) - (14)
                                                                                                                     Heh! Certainly one possibility... - (hnick) - (2)
                                                                                                                         jack of all trades, master of none - (tablizer) - (1)
                                                                                                                             That would be me, kinda sorta... - (hnick)
                                                                                                                     There are NO tools that can make a 3-yo moron a watchmaker. - (CRConrad) - (3)
                                                                                                                         My apps can kick your apps butt, neener neener -NT - (tablizer)
                                                                                                                         OUCH... No recovery Possible Bryce.... -NT - (folkert)
                                                                                                                         Ive cut my trees ate my lunch now where is the newspaper? -NT - (boxley)
                                                                                                                     ask and you shall receive - (boxley) - (6)
                                                                                                                         Seems a little weak in the relational department - (tablizer) - (5)
                                                                                                                             Too bad, ya gotta stick with Xbase only. - (CRConrad) - (4)
                                                                                                                                 Laf, hardly. - (admin) - (2)
                                                                                                                                     tells u what the 2 richest men in the world think of OO ;-) -NT - (tablizer)
                                                                                                                                     Yeah, but Sssshhhh! - (CRConrad)
                                                                                                                                 what hazn't? - (tablizer)
                                                                                             OOP is no use for relatively small apps. - (Arkadiy) - (5)
                                                                                                 on scalability - (tablizer) - (4)
                                                                                                     Thingy - (Arkadiy) - (3)
                                                                                                         All Your Nouns Are Belong To Us - (tablizer)
                                                                                                         How very interesting. - (static) - (1)
                                                                                                             And youses can *almost* articulate the benefits - (tablizer)
                                                         You can't reason with many people about many things. -NT - (wharris2) - (1)
                                                             the p/r api's are either fixable or not - (tablizer)
                                             Then why the HECK did you even ask, you UTTER moron?!? -NT - (CRConrad) - (1)
                                                 Ah well, Bryce is programming without class - (nking)
                                 I noticed that, too - (drewk) - (1)
                                     Actually, it sort of works. - (static)
         Program you way around it - (nking) - (1)
             PHP doesn't really have that problem. - (static)

Boong-Ga! Boong-Ga!
232 ms