CS 3304: Comparative Languages
Object-Oriented Programming
[
Course Documents
] : [
Object-Oriented Programming
]
Previous
Contents
Next
Keyword Index
Design Issue: Exclusivity of Objects
Everything is an object
Adv.--elegance and purity
Disadv.--slow operations on simple objects (e.g., float)
Add objects to a complete typing system
Adv.--fast operations on simple objects
Disadv.--results in a confusing type system
Include an imperative-style typing system for primitives but make everything else objects
Adv.--fast operations on simple objects and a relatively small typing system
Disadv.--still some confusion because of the two type systems