# \[Discuss\] Formatter always format one-line method to multi-line, is it necessary?

**URL:** <https://forum.crystal-lang.org/t/discuss-formatter-always-format-one-line-method-to-multi-line-is-it-necessary/5407>\
**Category:** Help & Support\
**Created:** [February 21, 2023, 10:22am UTC](https://forum.crystal-lang.org/t/discuss-formatter-always-format-one-line-method-to-multi-line-is-it-necessary/5407 "2023-02-21T10:22:24Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![asterite](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/asterite/32/60_2.png) [@asterite](https://forum.crystal-lang.org/u/asterite)\
**Post date:** [February 21, 2023, 2:04pm UTC](https://forum.crystal-lang.org/t/discuss-formatter-always-format-one-line-method-to-multi-line-is-it-necessary/5407/6 "2023-02-21T14:04:34Z")

</div>

This is a subjective matter. In my opinion this:

```crystal
def foo; bar; end

```

is less readable than this:

```crystal
def foo
  bar
end

```

If we allow the two forms then people will start making comments like “Hey, you should make this a one-liner” and so on. By not having the option to choose everything is simplified.

---

_[View the full topic](https://forum.crystal-lang.org/t/discuss-formatter-always-format-one-line-method-to-multi-line-is-it-necessary/5407)._
