Re: on goto
In comp.lang.c++ Nathan Baker <nathancbaker@gmail.com> wrote:
"Juha Nieminen" <nospam@thanks.invalid> wrote in message
news:4be50dcf$0$2544$7b1e8fa0@news.nbl.fi...
In comp.lang.c++ io_x <a@b.c.invalid> wrote:
with assembly is possible to write recursions functions too
That's like saying that C supports object-oriented programming.
Of course it does! C certainly has support for data structures.
See, that's another hilarious thing about obsessed C programmers:
They don't even understand what "object-oriented programming" means or
what does it mean for a language to support that.
Think about it with a different example: While it's possible to handle
arbitrary precision integers in C (for example by using a library like GMP),
that doesn't mean the C programming language supports arbitrary precision
integers. They are not part of the core language, or even its standard
libraries, nor are they mentioned in any way or form in the official
standard.
Likewise the C language does not support object-oriented programming:
It has no native support for classes with restricted compiler-enforced
access rights, inheritance or dynamic binding / message dispatching.
You can construct an environment which somewhat *simulates* this, but
that doesn't mean the C language supports OOP any more than it supports
eg. arbitrary precision integers.
The main difference between a language which supports OOP directly and
a language which does not is the amount of work the compiler does for the
programmer.