Problem with Design 1
•
Every time we add or modify an
operation, we have to change the class
for each node type
–
Ex: one Java bytecode analyzer has 61
different node types