comp.lang.ada
 help / color / mirror / Atom feed
From: richard.charts@gmail.com
Subject: Re: Basic Explaination of OO in Ada
Date: 19 Sep 2006 06:56:25 -0700
Date: 2006-09-19T06:56:25-07:00	[thread overview]
Message-ID: <1158674185.887102.205150@m73g2000cwd.googlegroups.com> (raw)
In-Reply-To: <1158636734.971377.112550@d34g2000cwd.googlegroups.com>


Lucretia wrote:
> > You should realize that what you're asking about is not OO, but
> > programming by extension. Because "OO" became a synonym for "good", and
>
> [snip]
>
> > object orientation. Programming by extension is an implementation
> > technique. Object orientation is a design attribute and may be
>
> This is very true and a lot of programmers don't realise they can
> develop in an OO way in asm or C (or any procedural language).
>
> Luke.

So basically, OO is the principles:
polymorph,
encaps,
inheritance.

And Programming by extension is the way to do it in Ada, as
class something:
{
}
would be in C++?


One thing I'm still confused on is the use of access objects
versus/with the use of object'class.
I understand using object'class for polymorphism and inheritance, but
can access objects be used in a similar manner?


As for the use of the python program.  It was just something I wrote a
week ago for a group I help with.  Since it was still fresh in my head,
it was the easiest thing to try to convert.




  reply	other threads:[~2006-09-19 13:56 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-18 15:24 Basic Explaination of OO in Ada richard.charts
2006-09-18 16:31 ` Georg Bauhaus
2006-09-18 16:43 ` Georg Bauhaus
     [not found] ` <j%zPg.13190$bM.10526@newsread4.news.pas.earthlink.net>
2006-09-18 17:13   ` Javier Miranda
2006-09-18 17:51 ` Robert A Duff
2006-09-18 18:32 ` Gautier
2006-09-18 19:55   ` richard.charts
2006-09-19  3:29     ` Lucretia
2006-09-19  8:49     ` gautier_niouzes
2006-11-20  6:13     ` adaworks
2006-11-24 14:48       ` Marco
2006-11-24 15:15         ` Javier Miranda
2006-09-18 19:37 ` Lucretia
2006-09-18 20:25 ` Jeffrey R. Carter
2006-09-19  3:32   ` Lucretia
2006-09-19 13:56     ` richard.charts [this message]
2006-09-19 14:10       ` Lucretia
2006-09-19 14:23         ` richard.charts
2006-09-19 15:45           ` Dmitry A. Kazakov
2006-09-19 15:31       ` Ludovic Brenta
2006-09-19 15:56         ` Alex R. Mosteo
2006-09-19 16:06           ` Ludovic Brenta
2006-09-19 16:14             ` Alex R. Mosteo
2006-09-20  7:16         ` Maciej Sobczak
2006-09-19 20:45       ` Jeffrey R. Carter
2006-09-19 21:15         ` Hyman Rosen
2006-09-20  7:27           ` Dmitry A. Kazakov
2006-09-19  6:00 ` Martin Krischik
2006-09-19 20:33   ` Jeffrey R. Carter
2006-09-20  6:41     ` Martin Krischik
2006-09-21  1:37       ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox