My personal opinion is that C++ and Java are still needlessly clumsy in this regard, and that "strong typing" often creates more problems than it solves. I feel that Object-oriented concepts are extremely important and powerful (and not entirely new), but that we should not lose sight of an original goal: we want to perform an operation on objects (such as an addition on two numbers, or insertion of objects into a container) without regard to irrelevant differences or details. In many cases, the type of an object is just the irrelevant implementation detail that troubles us the most, and that we should find ways (in coding and language design) to overlook gracefully. (End of sermon :-).
I have also used large standard class libraries, in Java, Visual C++ and Delphi Object Pascal.
previous next
(Vernay Labs) up
![]() |
This is part of the same exercise, which illustrated such object-oriented
concepts as virtual base classes and multiple inheritance.
![]() |