[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [DotGNU]random question

From: Thong \(Tum\) Nguyen
Subject: RE: [DotGNU]random question
Date: Sat, 8 Feb 2003 21:50:02 +1300

> -----Original Message-----
> From: j_post [mailto:address@hidden
> Sent: Saturday, 8 February 2003 6:10 p.m.
> To: Thong (Tum) Nguyen
> Cc: address@hidden
> Subject: Re: [DotGNU]random question
> On Friday 07 February 2003 07:03 pm, you wrote:
> >
> > OOP is more than just "structs with methods"
> True. It's a new paradigm.

I think what it really comes down to is this:

All Turing complete languages are equivalent.

i.e. You can write C code that, functionally, does the same thing as C++

But that doesn't mean all programming paradigms are equivalent.

i.e. OOP != Logical != Functional

You can "hack" C code to give you something similar to OOP but without
language support, polymorphism (etc) are a pain to actually implement
and use.
You can sort of do functional programming in C as well, but without the
language support (lambda expressions, etc) you can't really do useful
functional programming.

I don't think you want to merge the definitions of different language
paradigms into one simply because they're all "equivalent" at a
fundamental level ;-).

When talking about Fruit, you can say that Apples and Oranges are
different.  But at the fundamental level, they're both just energy.

When talking about programming paradigms, OOP and other paradigms are
different.  But at the fundamental level, they're both computationally


reply via email to

[Prev in Thread] Current Thread [Next in Thread]