Skip to content
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

spaces around operators #9

Open
steveklabnik opened this issue Mar 20, 2017 · 3 comments
Open

spaces around operators #9

steveklabnik opened this issue Mar 20, 2017 · 3 comments

Comments

@steveklabnik
Copy link

steveklabnik commented Mar 20, 2017

In section 1 at least

 x*x

most people write

x * x

and with

    n*factorial(n-1)

instead

n * factorial(n - 1)

a minor thing but I figured I'd mention it!

@stevedonovan
Copy link
Owner

Yes, I generally prefer letting operators breathe as well

@eddyb
Copy link

eddyb commented Mar 20, 2017

Lack of space after some commas probably applies as well.

@stevedonovan
Copy link
Owner

Yes, I've also put space after the comma after the format string in println. I'll keep the issue open since breathing is important ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants