# Passing arguments to julia functions

**URL:** <https://discourse.julialang.org/t/passing-arguments-to-julia-functions/64335>\
**Category:** New to Julia\
**Tags:** argument, functions, options\
**Created:** [July 9, 2021, 9:26am UTC](https://discourse.julialang.org/t/passing-arguments-to-julia-functions/64335 "2021-07-09T09:26:35Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![genkuroki](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/genkuroki/32/18030_2.png) [@genkuroki](https://discourse.julialang.org/u/genkuroki)\
**Post date:** [July 11, 2021, 6:11pm UTC](https://discourse.julialang.org/t/passing-arguments-to-julia-functions/64335/7 "2021-07-11T18:11:05Z")

</div>

If you can work in [the problem-algorithm-solver pattern](https://discourse.julialang.org/t/function-depending-on-the-global-variable-inside-module/64322/10), I think it is safe to follow that. In that pattern, different algorithms are represented by different types, and the solver function `solve` is dispatched by different algorithm types.

---

_[View the full topic](https://discourse.julialang.org/t/passing-arguments-to-julia-functions/64335)._
