From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 106bff,da6ad88c5ea1b826,start X-Google-Attributes: gid106bff,public X-Google-Thread: fac41,da6ad88c5ea1b826,start X-Google-Attributes: gidfac41,public X-Google-Thread: 109fba,da6ad88c5ea1b826,start X-Google-Attributes: gid109fba,public X-Google-Thread: 114809,da6ad88c5ea1b826,start X-Google-Attributes: gid114809,public X-Google-Thread: 103376,da6ad88c5ea1b826,start X-Google-Attributes: gid103376,public From: hakim@pl.jaring.my Subject: PURE OOPLs vs HYBRID OOPLs Date: 1997/08/17 Message-ID: <871863920.12733@dejanews.com>#1/1 X-Deja-AN: 264874863 X-Http-User-Agent: Mozilla/3.01Gold (Win95; I) X-Originating-IP-Addr: 161.142.113.39 (j25.jrc10.jaring.my) Organization: Deja News Posting Service X-Authenticated-Sender: hakim@pl.jaring.my X-Article-Creation-Date: Mon Aug 18 00:25:26 1997 GMT Newsgroups: comp.sys.next.advocacy,comp.lang.smalltalk,comp.lang.c++,comp.lang.eiffel,comp.lang.ada Date: 1997-08-17T00:00:00+00:00 List-Id: If you have a new topic about HYBRID OOPLs Vs PURE OOPLs, please feel free to publish it or write it personally to me!! hakim@pl.jaring.my fahr820@tmsk.itm.edu.my fahrul hakim ITM Shah Alam this is my article: PURE OOPLs VS HYBRID OOPLs : Object-oriented Thinking ----------------------------------------------------- An common argument in favor of hybrid languages is that most of them are in fact extensions of conventional programming languages. For example, C++ is an object-oriented extension of C, and object Pascal is an object-oriented extension of pascal. A programmer can learn an object oriented langugae easily when he or she already knows the underlying conventional language. C++ is a particularly impressive specimen of hybrid language. C++ was developed several years after smalltalk-80, yet very quickly it became the most widely used object-oriented language, because, for the army of c programmer, it was easier to switch to C++ than to smalltalk. object pasca is also an interesting example of a hybrid language, but for different reason. Object pascal is ragher minimal language, at least as far as object-oriented concepts are concerned. Object pascal has only a few additional language elements to support oop notably: an object type (similar to record type) methods (similar to procedures) messages (similar to procedures calls) two new predefined identifiers self and inherited a new standard function member, adn more tolerant compatibility rules to allow polymorphism these additons and modifications can easily be described in a handful of pages. An experienced pascal programmer can grasp them in less than one hour. this short list almost suggest that oop is just minor step beyond conventional programming. One could easily believe that comprehenison of these fwew addtions can convert a pascal programmer into an object expert. However, experience tells us that this is not true at all. Learning an oo language and learning to write oop are two different things. Many C++ programmersuse thier c++ compileras if it were just another version of the c compiler they had used for years. others use objects only when it seems to be absolutely necessary - and then they often misuse them. (are you agree with me ???????????) learning how to write good object-oriented programes is a painful experience for many programmer- even though they feel they are smart. Astonishingly, this learning process is hardest for programmers who have already acquired much programming experience, when confronted with progamming problem, they often quickly come up with an idea of what the algorithm for the solution of the problem could look like, but they rarely see what kinds of data have to be processed and in which way. in contrast, experienced oop intuitively know what the crucial objects are in a given problem domain. they do not tink in algorithm, but rather in classes, abstraction, and relatins among objects. To acquire the ability to think object-oriented, it is easire to start learning with a pure object-oriented language (are you agree with me ????). When everything is an object and every operations is performed by means of a message, the programmer is forced to abandon conventional thought patters. We therefore recommend starting objet-oreinted progamming with a pure obejct-oriented language even if a hybrid language is to be used afterwards. fahrul hakim > Any comments ??? -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet