ELI5: Explain Like I'm 5

Multiple dispatch

Multiple dispatch is a type of computer programming where a function can work differently depending on the types of data that it is given. It is similar to how words can have different meanings based on how they are used in a sentence.

For example, when you say "jump", it can mean to jump up in the air. But if you say, "jump in the pool", it can mean to jump into the water. Multiple dispatch is like this, and it can help a computer program do different things depending on what types of data it is given.
Related topics others have asked about: