"I have written 'true' OO C, now it is clear that C has no OO support within it. I have however implemented polymorphism (of sorts) inheritence (of sorts)."
"(of sorts)" says it all. A language supports OO programming precisely to the extent that each programmer doesn't have to hack his/her own half assed version of an OO feature, be it polymorphism, encapsulation, multi-methods, etc.
After all, any Turing complete language can be made to do _anything_ that can be done with computers. Some languages just make it a whole lot easier to program in a certain way. If you wan't to program in a truly OO way, then languages built with OO in mind from the start make your life a whole lot easier than those that had OO bolted on later.
This is not to say that OO is the one true way. But if you _do_ want to program in an OO manner, your time is much better spent using Smalltalk, or Dylan, (to name a couple of languages with OO support from the ground up) than, say, C++ (to name a popular OO retrofit).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.