True! Though my (biased) take is that Dialog or I7-style rule matching is better for IF than multiple dispatch, because it lets you also “dispatch” on things that aren’t routine arguments. For example, “when the player is carrying a vegetable” probably doesn’t deserve to be an argument in every “process an action” routine call—but I7 and Dialog let you condition rules on it anyway.
3 Likes
I like the directed graph of predicates model.
2 Likes