Re: OOP
"ch" == campyhapper <campyhapper@xxxxxxxxx> writes:
ch> But I wonder, has anyone ever tried to create a sort of lite
ch> version of C++, a C+ if you will, that adds to C just a few key
ch> features and disallows things like templates, multiple
ch> inheritance and the like?
C++ has a philosophy of not making you pay for language features you
don't use. Use C++, but don't use the features you don't like.
Charlton
--
Charlton Wilbur
cwilbur@xxxxxxxxxxxxxx
.
Relevant Pages
- Re: On assembly and portability (between Linux and Windows)
... A short note on Object Oriented Programming (OOP). ... Inheritance is the ability to extend data structures by ... Polymorphism is the ability to override an existing ... oriented features. ... (alt.lang.asm) - Re: object oriented shell scripts
... It doesn't provide type safety or inheritance or access control, ... And all the Real OO Features are missing? ... think it's possible to port Bourne Shell code or even write code ... (comp.unix.shell) - Re: Eiffel, C++ and the Diamond Problem
... One of the attractions of Eiffel is the claim ... > oriented languages either avoided multiple inheritance entirely (e.g. ... as if B's features were originally constructed in A. ... (comp.lang.eiffel) - Re: delegation vs. inheritance
... IMHO if one wants to create class with big interface, then it amounts to Facade pattern - make one class with all methods relevant to the interested clients. ... However, even though your code might work for all instances of base class, you miss this opportunity if you use inheritance. ... We had couple of features which we added via inheritance, and it seemed cool, we were inheriting, and inheritance is very OO. ... (comp.object) - Re: object oriented shell scripts
... It doesn't provide type safety or inheritance or access control, ... automatic creation of getters and setters or return by reference. ... And all the Real OO Features are missing? ... # Implementation of the fibonacciRecursive method for the ... (comp.unix.shell) |
|