🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.oodesign
Article #35

Re: OOP Concepts

#35
From: Claire W.
Date: Mon, 28 May 2001 19:12
30 lines
2226 bytes
> "Randy Charles Morin" <rmorin@kbcafe.com> wrote
> > I'm looking for feedback on an article I wrote on OOP Concepts. The
> article
> > is at the following URL.
> > http://www.kbcafe.com/articles/oop.concepts.html
> > Thanks you very much for your time and sorry for the intrusion.

In the Inheritance section you declare an integer with...
    integer d;
legal code if you have an integer class. I doubt this is what you meant.

The section on Polymorphism is unhelpful and the code is wrong.
Neither class B or C derive from A, and you then create a function that
creates a reference to an A object called 'a', yet you attempt to call the
method on 'A'. Your function also fails to declare a return type. There are
also three redundant semicolons.

I found your explanation of encapsulation added nothing to the definition.
In fact you actually muddied the waters.

The abstraction section was better, and the code looked like it had seen a
compiler. Still too many semicolons.

As an article being published, I would have thought you would have
speelchicked it!

What audience you're aiming for?

Claire
Technical Details
Message-ID: <3b12b3b2_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b021472$1_1@dnews> <3b105e62_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114c7b,f1d20db74e5bd0b5
X-Google-Attributes: gid114c7b,public
X-Google-Thread: 10db1e,f1d20db74e5bd0b5
X-Google-Attributes: gid10db1e,public
X-Google-Thread: feb48,f1d20db74e5bd0b5
X-Google-Attributes: gidfeb48,public
X-Google-ArrivalTime: 2001-05-28 13:48:06 PST
From: "Claire W." <cmw.walker@btinternet.com>
Newsgroups: borland.public.cppbuilder.oodesign,borland.public.delphi.oodesign,borland.public.kylix.oodesign
References: <3b021472$1_1@dnews> <3b105e62_2@dnews>
Subject: Re: OOP Concepts
Date: Mon, 28 May 2001 20:12:48 +0100
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 62.7.22.236
Message-ID: <3b12b3b2_2@dnews>
X-Trace: dnews 991081394 62.7.22.236 (28 May 2001 13:23:14 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews