Re: Is OOP a paradigm or methodology?




"Zorro" <zorabi@xxxxxxxxxxx> wrote in message
news:1122437813.363670.56360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > I do my object-oriented programming in Ada and I do not find myself
> > overwhelmed by the limitations you describe.
>
> It seems like you agree with me. But, may be not?
>
> The rest of your comment implies that you prefer not to be limited to a
> single view (as imposed by the paradigm). If so, that is what the
> following is saying.
>
Interesting web site. Z++? It seems people still do not know that Ada
is an up-to-date, flexible language that allows system level programming,
low-level programming when necessary, and high-level object-oriented
programming when that is appropriate.

Ada 95 is the current version. The new Ada 2005 or 2006 will be in
place soon. Compilers will be ready almost as soon as the standard
is released.

Oh. We should mention, Ada does not use curly braces. For some
reason, some people find that unacceptable.

And, yes, I do agree that we need multi-paradigm languages when the
problem we are trying to solve does not fit neatly into the prescription
of the single-paradigm language (one reason I dislike Java). Does no
one recall the adage,

"When the only tool you have is a hammer, every problem looks
like a nail."

or conversely,

"When all problems are in the form of nails, every tool looks like
a hammer."

I find OOP to be a valuable tool for development in a large number of
circumstances. I find it annoying when it prevents me for creating
simple solutions to problems that need simple solutions. Inheritance,
when appropriate has not substitute. Generics (templates) when
appropriate are an excellent way to create reusable components.
I don't design my software with "go to" but I reserve the right to
use it when it - albeit infrequently - is the right thing to do. Global
data is a dangerous feature of most programs, but sometimes it is
the right thing to do.

I have noticed, over many years of programming, that people who
make up rules for programmers tend to be people who no longer
write production code.

Richard Riehle


.



Relevant Pages

  • Re: How come Ada isnt more popular?
    ... I think that Ada *and* Haskell will make an interesting ... I wonder why one wouldn't just use Monads in most cases? ... a systems programming language. ... important reason not to ignore functional programming is [... ...
    (comp.lang.ada)
  • Re: 7E7 Flight Controls Electronics
    ... > Until the next language... ... community is making programming language selection based on a full ... Ada is still the best decision. ... Java is the right choice. ...
    (comp.lang.ada)
  • Re: Larger matrices
    ... far from describing the entirety of Ada. ... tasking offered with much higher level PLs. ... just one tiny bit below a type safe generic O-O language: ... will convince me that Ada is not a systems programming language. ...
    (comp.lang.ada)
  • Re: 71% Say Finding New Energy Sources More Important than Conservation
    ... Most of the drive to define was for a test programming language, because each tester had it's own language and the engineer would have to re-write the program every time the testor changed. ... The only reason it was used was because people saw that it would have a longer life time than ADA. ... My group at Stanford switched to Java as their language of choice after giving up on C++ as too flawed to use. ...
    (soc.retirement)
  • Re: Larger matrices
    ... Let me put is this way: Ada has to be especially good at ... systems programming, hence it has to be fairly low level. ... A systems programming language must provide for the low ... This is not necessarily the hardware, ...
    (comp.lang.ada)