|
|
|
|
|
by gizmo385
3743 days ago
|
|
"DRY is the most obvious one, but one that may be less obvious is for better testing." Isn't that why we just write functions? Turning simple functions into entire modules just adds an unnecessary level of abstraction that helps nobody. |
|
It's like (micro)crowdsourcing (the smallest components of) the standard library that JavaScript never had.
Some bit of logic could go from being DRY in one project, to DRY in all of my projects, ... to eventually be DRY in all projects. It's globally DRY.