Contents
Page-10
Prev
Next
Page+10
Index
Unfortunate Features of OOP
- OOP tends to require that everything be objects.
Hard to use with existing systems.
- Reusing generic procedures is not easy:
- Programmer must know method name and arguments.
- Arguments must respond appropriately to all messages that may
be sent to them by the method or anything it calls.
- Methods may produce unexpected and unwanted
side-effects.
- Slow in execution.
- Method lookup overhead
- Opacity of objects prevents
optimization across messages.
- A layered object structure compounds the problem.
Some OOP systems ``succeed'' but have to be discarded and rewritten
for efficiency.
- System structure becomes baroque and hard to change
(just the opposite of what is advertised).