Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jan 13, 2017

Since this is in its own module now, it doesn't need a closure for encapsulation.

@sandersn
Copy link
Member

What's the advantage of this change? Is it faster? Easier to read? Less indented?

@ghost
Copy link
Author

ghost commented Jan 14, 2017

Less state implicitly shared by 1000 lines of code. A large closure is essentially a god class.

@ghost ghost merged commit 3b0f2c1 into master Jan 16, 2017
@ghost ghost deleted the findallrefs_unclosure branch January 16, 2017 17:18
@ghost ghost mentioned this pull request Apr 2, 2018
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants