# How to dispatch by value?

**URL:** <https://discourse.julialang.org/t/how-to-dispatch-by-value/43266>\
**Category:** New to Julia\
**Created:** [July 17, 2020, 10:26pm UTC](https://discourse.julialang.org/t/how-to-dispatch-by-value/43266 "2020-07-17T22:26:35Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![Bryan\_So](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bryan_so/32/16228_2.png) [@Bryan\_So](https://discourse.julialang.org/u/Bryan_So)\
**Post date:** [July 18, 2020, 7:01pm UTC](https://discourse.julialang.org/t/how-to-dispatch-by-value/43266/23 "2020-07-18T19:01:56Z")

</div>

Posted another topic to understand the combinatorial explosion issue:

> [@Understanding the dangers of abusing multiple dispatch](https://discourse.julialang.org/t/understanding-the-dangers-of-abusing-multiple-dispatch/43301):
>
> Hi, I’d like to understand more about this topic: The dangers of abusing multiple dispatch [https://docs.julialang.org/en/v1.6-dev/manual/performance-tips/#The-dangers-of-abusing-multiple-dispatch-(aka,-more-on-types-with-values-as-parameters)-1](https://docs.julialang.org/en/v1.6-dev/manual/performance-tips/#The-dangers-of-abusing-multiple-dispatch-(aka,-more-on-types-with-values-as-parameters)-1) I don’t understand when we will get combinatorial explosion, quote For example, you might imagine using it to store information, e.g. struct Car{Make, Model} year::Int ...more fields... end and then dispatch on objects like Car{:Honda,:A…

Thx

---

_[View the full topic](https://discourse.julialang.org/t/how-to-dispatch-by-value/43266)._
