Re: OOP
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 16:35:46 +0000
campyhapper@xxxxxxxxx said:
Hi folks,
I tend to prefer C, and of course I know that structs
can be used in C to achieve something like
an object-oriented design. And I prefer C in part
because C++ has, I think, grown into a bit of a
monster wherein readability is sacrificed.
But I wonder, has anyone ever tried to create a
sort of lite version of C++, a C+ if you will, that adds
to C just a few key features and disallows things
like templates, multiple inheritance and the like?
Yes. It never works very well. If that's what you want, just use C++ and
discipline yourself not to use the features that you think hamper
readability. (That is what I already do in C. The fact that goto, say, is
available does not mean that I am required to use it.)
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- Follow-Ups:
- Re: OOP
- From: campyhapper
- Re: OOP
- References:
- OOP
- From: campyhapper
- OOP
- Prev by Date: Re: problem passing pointer array
- Next by Date: Re: OOP
- Previous by thread: OOP
- Next by thread: Re: OOP
- Index(es):
Relevant Pages
|