# Does anyone know why JuliaFormatter uses a 92 character max line length?

**URL:** https://discourse.julialang.org/t/does-anyone-know-why-juliaformatter-uses-a-92-character-max-line-length/45477
**Category:** Offtopic
**Created:** [August 24, 2020, 11:14pm UTC](https://discourse.julialang.org/t/does-anyone-know-why-juliaformatter-uses-a-92-character-max-line-length/45477 "2020-08-24T23:14:40Z")
**Posts on this page:** 1
**Showing post:** 8

<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: [August 26, 2020, 12:37pm UTC](https://discourse.julialang.org/t/does-anyone-know-why-juliaformatter-uses-a-92-character-max-line-length/45477/8 "2020-08-26T12:37:26Z")

</div>

I did a poll on this 2 years ago:

> [@Line length limit poll](https://discourse.julialang.org/t/line-length-limit-poll/14703):
>
> When I code in Julia, I like to keep my line length below [poll](https://discourse.julialang.org/t/line-length-limit-poll/14703/1)

and 92 was the most common choice.

I don’t think this value comes from any deep principles, it is just kind of a sweet spot for most people in the sense that longer lines usually signal a problem with the code.

In particular:

1. indentation with 16–20+ spaces: consider moving code to local or global functions
2. very long argument lists: group them to (immutable) `struct`s or similar
3. closures taking up a lot of the line length: use `do`, or a local named function
4. if all else fails: just break that line somewhere

---

_[View the full topic](https://discourse.julialang.org/t/does-anyone-know-why-juliaformatter-uses-a-92-character-max-line-length/45477)._
