# What are different types of functions in Julia and what are the differences between them?

**URL:** <https://discourse.julialang.org/t/what-are-different-types-of-functions-in-julia-and-what-are-the-differences-between-them/98113>\
**Category:** General Usage\
**Tags:** question, error, syntax, optimization, function\
**Created:** [April 30, 2023, 6:08am UTC](https://discourse.julialang.org/t/what-are-different-types-of-functions-in-julia-and-what-are-the-differences-between-them/98113 "2023-04-30T06:08:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [April 30, 2023, 6:25pm UTC](https://discourse.julialang.org/t/what-are-different-types-of-functions-in-julia-and-what-are-the-differences-between-them/98113/4 "2023-04-30T18:25:01Z")

</div>

Linking this thread on [all the ways to define functions in Julia](https://discourse.julialang.org/t/all-ways-to-define-functions-in-julia/45816) and [related article](https://medium.com/@evalparse/there-are-so-many-ways-to-define-a-function-sort-of-in-julia-7821e49373cd), which may help answering the OP title question.

---

_[View the full topic](https://discourse.julialang.org/t/what-are-different-types-of-functions-in-julia-and-what-are-the-differences-between-them/98113)._
