Article View: comp.lang.pascal.delphi.misc
Article #2Re: C++ with Zapp vs. Delphi
From: Slobodan Celenkovic
Date: Thu, 18 Jan 1996 21:17
Date: Thu, 18 Jan 1996 21:17
27 lines
2018 bytes
2018 bytes
Keith Bagley <keithb@gpim.xerox.com> wrote: > >In article <4ddke3$5lf@fountain.mindlink.net>, <brent_bysouth@mindlink.bc.ca> >writes: >> olczyk@sunphy1 (Thadeus Olczyk) wrote: >> >> >As long as Delphi supports the toxic combination static typing and >> >single inheritance , people will not be able to use polymorphism >> >to replace case statements which will always make Delphi slower in any >> >large application. >> Dynamic typing, if I understand you, refers to the dynamic binding of methods. Pascal does support it using the keyword virtual (or dynamic). Therefore Pascal does support polymorphism just as well as C++. In fact the nice thing about Pascal is indeed that it supports both static and dynamic binding. The choice is left to the programmer. Of course this is just as true for C++, in that respect there is not much difference. Multiple inheritance is one of the controversial features implemented by few languages, including C++. There were many debates about the need for MI. Indeed one can come up with very good examples where it is needed. Yet as far as I know MI is not really used much nor needed very often. In practice I haven't had a need for it. So it is not really very important and certainly not the key feature of OO.
Technical Details
Message-ID:
<4dmdcd$6sv@crc-news.doc.ca>Path:
arc1-ca.pugleaf.net!crc-news.doc.ca!usenetReferences:
<4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com> <fRA+w0JfFG5X089yn@oslonett.no> <4dcc4d$6anc@tigger.cc.uic.edu> <4ddke3$5lf@fountain.mindlink.net> <NEWTNews.821822862.4682.keith@keith.gpim.xerox.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!crc-news.doc.ca!usenet From: Slobodan Celenkovic <slobodan@cs.unh.edu> Newsgroups: comp.lang.pascal.delphi.misc,comp.lang.c++ Subject: Re: C++ with Zapp vs. Delphi Date: 18 Jan 1996 21:17:01 GMT Organization: The Communications Research Centre Message-ID: <4dmdcd$6sv@crc-news.doc.ca> References: <4coar6$d4n@sun4.bham.ac.uk> <4coip7$69s@news1.usa.pipeline.com> <fRA+w0JfFG5X089yn@oslonett.no> <4dcc4d$6anc@tigger.cc.uic.edu> <4ddke3$5lf@fountain.mindlink.net> <NEWTNews.821822862.4682.keith@keith.gpim.xerox.com> NNTP-Posting-Host: celenkovic.bob.fob003.ic.gc.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.1N (Windows; I; 16bit)