felixge / felixge/node-style-guide
Closure confusion
Open
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 893
- PR merge metrics
- No merged PRs in 30d
Description
> Use closures, but don't nest them.
https://github.com/felixge/node-style-guide#no-nested-closures
This is a little funny considering the whole point of closures is to nest them so they close over variables in their parent scope.
The examples provided are just.. regular functions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.