Re: OOP



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. ------


.



Relevant Pages

  • Re: OOP
    ... and of course I know that structs ... an object-oriented design. ... monster wherein readability is sacrificed. ... to C just a few key features and disallows things ...
    (comp.lang.c)
  • Re: OOP
    ... and of course I know that structs ... an object-oriented design. ... to C just a few key features and disallows things ... The language will work just as well. ...
    (comp.lang.c)
  • Re: OOP
    ... an object-oriented design. ... to C just a few key features and disallows things ... Keith Thompson kst-u@xxxxxxx ... Nokia ...
    (comp.lang.c)