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

Exponent Operator #44

Closed
benhamill opened this issue Sep 27, 2011 · 7 comments
Closed

Exponent Operator #44

benhamill opened this issue Sep 27, 2011 · 7 comments

Comments

@benhamill
Copy link

I agree with "Use spaces around operators..." except. What I never do it for **. To me,

e = M * c ** 2

Looks less like what it is than

e = M * c**2

What do others think about this? Is ** an exception, or am I being idiosyncratic?

@amdest
Copy link

amdest commented Sep 27, 2011

Agreed.

@argent-smith
Copy link

The latter form looks like priority notion which is IMO good.

@philtr
Copy link

philtr commented Sep 27, 2011

+1

4 similar comments
@amiel
Copy link
Contributor

amiel commented Sep 27, 2011

+1

@meh
Copy link
Contributor

meh commented Sep 27, 2011

+1

@shurizzle
Copy link

+1

@PotHix
Copy link

PotHix commented Sep 28, 2011

+1

@bbatsov bbatsov closed this as completed in ea832ae Oct 1, 2011
bbatsov pushed a commit that referenced this issue Oct 1, 2011
marocchino pushed a commit to marocchino/ruby-style-guide that referenced this issue Aug 11, 2015
marocchino pushed a commit to marocchino/ruby-style-guide that referenced this issue Aug 11, 2015
shyouhei pushed a commit to shyouhei/ruby-style-guide that referenced this issue Nov 11, 2015
shyouhei pushed a commit to shyouhei/ruby-style-guide that referenced this issue Nov 11, 2015
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

9 participants