| ??? 01/16/03 09:36 Read: times |
#36563 - RE: C++ |
What I meant is that OO is a way of looking at things to ensure good design. If you need to do inheritance or polymorphism or encapsulation, you *design* your program that way, and you can *implement* it in any language, even a non-OO language. Instead of using language features, you can impose OO guidelines/constraints in the *way* you write your code. So the language doesn't have to do the inheritance / polymorphism / encapsulation, your design does it.
Hence you don't need the overheads of vtables or other OO features in C++. It certainly is possible: I once had to do a project in C, but the design was totally OO; I managed to do well enough without C++. Also the fact that the compiler in question implements C++ as a preprocessor over C, supports my point of view. I hope I got my meaning across... kundi |
| Topic | Author | Date |
| C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ /Erik | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| Anyone care to answer the question? | 01/01/70 00:00 | |
| RE: Anyone care to answer the question? | 01/01/70 00:00 | |
| RE: Anyone care to answer the question? | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
| RE: C++ | 01/01/70 00:00 | |
RE: C++ | 01/01/70 00:00 |



