Skip to content

Conversation

@rvagg
Copy link
Member

@rvagg rvagg commented Jan 22, 2016

Continuing on from here. While single-argument arrow functions allow you to drop parens, it doesn't mean you should. Personally I find these too terse and make code harder to visually parse. I know I'm not alone on this but I'm happy to hear from others who feel strongly about dropping parens in this case.

Note our codebase isn't consistent on this, there's lots of single-arg arrow functions with parens already.

/cc @nodejs/collaborators cause of the impact

@jasnell
Copy link
Member

jasnell commented Jan 22, 2016

I'm good with this. LGTM

@rvagg
Copy link
Member Author

rvagg commented Jan 22, 2016

derp, closing in favour of #4813 by @cjihrig

@mscdex mscdex added the tools Issues and PRs related to the tools directory. label Jan 22, 2016
@targos targos closed this Jan 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants