It matters somewhat. I had a coworker who used to avoid parens any time it was possible which I found incredibly annoying:
"foo bar"
.split(" ")
.map(&:capitalize)
.join " "
There is really no advantage to not putting parens for the `join` call. Meanwhile, it makes modification a pain as well as makes for some ugly diffs.But as a sibling comment mentioned: just use a linter.