🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.vb.general.discussion
Article #39

Re: PowerBuilder vs VB, Delphi & Co ...

#39
From: Scott L. Holmes
Date: Thu, 29 Oct 1998 00:00
37 lines
3240 bytes
Rick Langel wrote in message <363bd4bd.76565795@207.126.101.81>...
>OK, where in VB does it use inheritance?  That is 1 of the 3 key tenets of
OO.
>If you can show me where you can inherit an object or class from another,
I'd be
>happy to concede that VB is OO, otherwise, be quiet.

Several weeks ago, a gentleman (Robert Conley?) discussed quite articulately
how to apply design patterns using VB via delegation (aggregation?)  and
interface inheritance.  These seemed to be quite legit methods of
inheritance as presented and justified quite eloquently in Kraig
Brockschmidt's book Inside OLE2 (using classes coded in C++).

If VB is able to resolve an OO model without a significant amount of
invention on the part of the implementor, then it deserves to wear the OO
label without complaint.

I personally have been able to use delagation and interface inheritance in
VB to produce several small "hierarchical" relationships (which I of course
modeled first), some 4 nests deep.  This achieved the desired affect of
reuse.  I did not need to recode (other than the delagation) the properties
and methods in the subclasses - i.e. I reused objects.

As a programmer, I've become expert in many programming languages.  I spent
the first half of my career helping IT organizations construct systems of
various sizes.  The single most important factor in a language should always
be: how easy is it to create reusable discrete units of work (modules or
objects).  The single most important asset of any IT org is simply its
catalog of reusable code units.  Reuse is the only way to dramatically
reduce the maintenance costs of computing.  Reuse is the key to zero defect
code.  Too bad we all can't be as dogmatic about reuse as some of us are
about implementation inheritance.

Of course all the tools discussed here have wonderful support for reuse.  So
it seems a bit odd that everyone is so damn fired up about inheritance...
--
Scott L. Holmes
Technical Details
Message-ID: <Oha7Rd5A#GA.261@uppssnewspub04.moswest.msn.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <361553e9.0@diana.idirect.com> <36196405.7CB1DF5B@NoSpam.fcc.gov> <6vdjs6$6li$1@nnrp1.dejanews.com> <361E33F8.20E34721@NoSpam.fcc.gov> <6vldnd$og6$1@nnrp1.dejanews.com> <3623F039.3210B408@NoSpam.fcc.gov> <70ftej$jpl$1@nnrp1.dejanews.com> <3636B628.65C7DC15@loudoun.com> <OHG0IGoA#GA.249@uppssnewspub05.moswest.msn.net> <363f32c2.223439718@news.teleport.com> <717v82$abr$1@nnrp1.dejanews.com> <363a96fc.60756383@207.126.101.81> <71ae52$q0m@drn.newsguy.com> <363bd4bd.76565795@207.126.101.81>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f894d,b3dde5b37e123d6
X-Google-Attributes: gidf894d,public
X-Google-Thread: 111366,b3dde5b37e123d6
X-Google-Attributes: gid111366,public
X-Google-Thread: 11493c,b3dde5b37e123d6
X-Google-Attributes: gid11493c,public
X-Google-Thread: 106e49,b3dde5b37e123d6
X-Google-Attributes: gid106e49,public
From: "Scott L. Holmes" <slholmes@nhdg.com>
Subject: Re: PowerBuilder vs VB, Delphi & Co ...
Date: 1998/10/29
Message-ID: <Oha7Rd5A#GA.261@uppssnewspub04.moswest.msn.net>
X-Deja-AN: 406492923
References: <361553e9.0@diana.idirect.com> <36196405.7CB1DF5B@NoSpam.fcc.gov> <6vdjs6$6li$1@nnrp1.dejanews.com> <361E33F8.20E34721@NoSpam.fcc.gov> <6vldnd$og6$1@nnrp1.dejanews.com> <3623F039.3210B408@NoSpam.fcc.gov> <70ftej$jpl$1@nnrp1.dejanews.com> <3636B628.65C7DC15@loudoun.com> <OHG0IGoA#GA.249@uppssnewspub05.moswest.msn.net> <363f32c2.223439718@news.teleport.com> <717v82$abr$1@nnrp1.dejanews.com> <363a96fc.60756383@207.126.101.81> <71ae52$q0m@drn.newsguy.com> <363bd4bd.76565795@207.126.101.81>
Newsgroups: microsoft.public.vb.general.discussion,powersoft.public.powerbuilder.general,borland.public.delphi,comp.soft-sys.powerbuilder
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3