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
I'd like to have Ruby-style trailing conditionals, eg:
print(foo) if bar
None of the workarounds I know are very pretty...
The text was updated successfully, but these errors were encountered:
For reference, the current prevailing style is to use bar && print(foo).
bar && print(foo)
Sorry, something went wrong.
I prefer having the predicate come before the consequence. See also #6823 for an alternative proposal.
I also prefer the syntax in #6823.
No branches or pull requests
I'd like to have Ruby-style trailing conditionals, eg:
print(foo) if bar
None of the workarounds I know are very pretty...
The text was updated successfully, but these errors were encountered: