Skip to content

Conversation

@rvagg
Copy link
Member

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

I'm good with this. LGTM

@rvagg
Copy link
MemberAuthor

derp, closing in favour of #4813 by @cjihrig

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

Labels

toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@rvagg@jasnell@mscdex@targos