# Lightly OT: MD as abbreviation of multiple dispatch?

**URL:** <https://discourse.julialang.org/t/lightly-ot-md-as-abbreviation-of-multiple-dispatch/7322>\
**Category:** Community\
**Created:** [November 26, 2017, 1:37pm UTC](https://discourse.julialang.org/t/lightly-ot-md-as-abbreviation-of-multiple-dispatch/7322 "2017-11-26T13:37:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Post date:** [November 26, 2017, 1:37pm UTC](https://discourse.julialang.org/t/lightly-ot-md-as-abbreviation-of-multiple-dispatch/7322/1 "2017-11-26T13:37:12Z")

</div>

I’m starting to document a few things and i’m wondering if there is a proper abbreviation for multiple dispatch? Like this function call is single type only API, this here is MD ?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 26, 2017, 2:36pm UTC](https://discourse.julialang.org/t/lightly-ot-md-as-abbreviation-of-multiple-dispatch/7322/2 "2017-11-26T14:36:15Z")

</div>

I am not sure it is an established acronym, but aside from that, the more immediate problem could be that unless you enforce that some functions have only a single method (eg via unit tests), it could change quickly and make the documentation out of sync with the code. Let alone other modules extending the function (may not seem a concern now, but one cannot predict).

This is something I would not document, as it is easily discoverable via `methods`. Moreover, a well-designed API makes various methods blend in seamlessly to perform a single function (as much as that makes sense). Eg `Base.+` has zillion methods, but one can conceptualize it as a single function.

---

<div class="post-metadata">

**Author:** ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Post date:** [November 26, 2017, 3:12pm UTC](https://discourse.julialang.org/t/lightly-ot-md-as-abbreviation-of-multiple-dispatch/7322/3 "2017-11-26T15:12:23Z")

</div>

i actually subscribe your view. Here (Cairo.jl) i try to stay close to the C-API libcairo calls - which are by definition single type calls - and list in the documentation ‘utility’ functions that enable a MD/more julian interface.
