# Writting long functions with the short function definition syntax. Equivalent? Why not?

**URL:** https://discourse.julialang.org/t/writting-long-functions-with-the-short-function-definition-syntax-equivalent-why-not/97699
**Category:** New to Julia
**Tags:** syntax
**Created:** [April 20, 2023, 11:07am UTC](https://discourse.julialang.org/t/writting-long-functions-with-the-short-function-definition-syntax-equivalent-why-not/97699 "2023-04-20T11:07:01Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![mihalybaci](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mihalybaci/32/13528_2.png) [@mihalybaci](https://discourse.julialang.org/u/mihalybaci)
#### Post date: [April 20, 2023, 12:44pm UTC](https://discourse.julialang.org/t/writting-long-functions-with-the-short-function-definition-syntax-equivalent-why-not/97699/6 "2023-04-20T12:44:16Z")

</div>

Personally, I like the look of the `function foo(x, y, z)` style. One additional consideration for style is if there is a readability difference when you start using things like [parametric types](https://docs.julialang.org/en/v1/manual/methods/#Parametric-Methods). But I think as long as a coding style is consistent, then to each their own.

FWIW, there are some recommendations for style that may be of interest. [Is there a Julia Style Guide?](https://discourse.julialang.org/t/is-there-a-julia-style-guide/80195/)

---

_[View the full topic](https://discourse.julialang.org/t/writting-long-functions-with-the-short-function-definition-syntax-equivalent-why-not/97699)._
