Re: OOP
- From: Lew Pitcher <lpitcher@xxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 14:18:06 -0400
In comp.lang.c, campyhapper@xxxxxxxxx wrote:
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?
The original cfront "C with Classes" C++ translator was last updated in
January 2007. Perhaps cfront would provide you with the C++ features you
wish while still maintaining the straightforwardness of C. If you are
interested, you can take a look at version 3.3 at
http://www.softwarepreservation.org/projects/c_plus_plus/cfront
--
Lew Pitcher
Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------
.
- Follow-Ups:
- Re: OOP
- From: campyhapper
- Re: OOP
- References:
- OOP
- From: campyhapper
- OOP
- Prev by Date: Re: Promoting unsigned long int to long int
- Next by Date: Re: adding colums to text
- Previous by thread: Re: OOP
- Next by thread: Re: OOP
- Index(es):
Relevant Pages
|