We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if
I've seen code like
(if (or (something) (something-else)) do-something do-something-else)
in the wild. I would like to be able to point to a style guide note about this. This doesn't apply of course to things like
(if x then else)
Where it's all on one line but if you're going to format it with multiple lines then put the then and else forms on different lines
The text was updated successfully, but these errors were encountered:
Yeah, I agree with that suggestion. Generally I think it's fine to have both branches on the same line only for trivial (e.g. one-line conditionals).
Sorry, something went wrong.
PR welcome, at this point.
PR is still welcome :)
No branches or pull requests
I've seen code like
in the wild. I would like to be able to point to a style guide note about this. This doesn't apply of course to things like
(if x then else)
Where it's all on one line but if you're going to format it with multiple lines then put the then and else forms on different lines
The text was updated successfully, but these errors were encountered: