Hacker News new | ask | show | jobs
by username42 4421 days ago
At that time, the main idea of OO was binding data and operations. Ada 83 does not provide polymorphism, nor inheritance, but provides many levels of encapsulation: package, generic package, generic types. Since Ada 95, child packages and tagged types (object with polymorphism and inheritance) have been added.

Even in Ada 2005, the general advice given to Ada developers is to use objects only when they need polymorphism. Ada is a marvellous language that is far richer than just objects and classes.