New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Narrow or wide formatting? #161
Comments
Funny, I just raised this issue independently: Mine is concerned with fn calls though. I'd say for calls, the generally better choice is quite clear. For data/defs (such as your example) there's more room for subjectivity. In your example, I'd prefer the former as:
|
I think I've seen way more usages of the first style in the wild. Someone has to check this, though. Generally I don't have any issues with recommending this in the guide. |
Should Clojurists favour narrow formatting with top-level forms on new lines, like this:
Or wider formatting that avoids splitting forms with line breaks unless they extend beyond 80 characters, like this?
I find the first version easier to scan but don't see any general advice in the guide about this.
The text was updated successfully, but these errors were encountered: