CSE341: Programming Languages��Section 9
Double Dispatch, Visitor Pattern
Spring 2021
1
Reminders
CSE 341: Programming Languages
2
Dispatch Overview
Dispatch is the runtime procedure for looking up which function to call based on the parameters given:
Emulating Double Dispatch
Double Dispatch Example: RPS