Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zachrose
on May 7, 2014
|
parent
|
context
|
favorite
| on:
I don't love the single responsibility principle
Interesting. In CommonJS modules, a file can only export one thing. You could namespace multiple things into one exported object, though I find that granular dependencies can lead to insights about how reusable your modules really are.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: