Skip to content

Comments

Remove parentheses in multi-line chaining#28

Open
cognitom wants to merge 1 commit intopolarmobile:masterfrom
cognitom:remove-parentheses-in-multiline-chaining
Open

Remove parentheses in multi-line chaining#28
cognitom wants to merge 1 commit intopolarmobile:masterfrom
cognitom:remove-parentheses-in-multiline-chaining

Conversation

@cognitom
Copy link

The style introduced in CoffeeScript 1.7 seems more natural and readable. Is that still controversial?

[1..3]
  .map (x) -> x * x
  .concat [10..12]
  .filter (x) -> x < 11
  .reduce (x, y) -> x + y

@mjrusso
Copy link
Member

mjrusso commented Jun 11, 2014

I am in favour of this change. Any objections?

@cognitom
Copy link
Author

Ping?

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

Successfully merging this pull request may close these issues.

2 participants