Re:Why do we need modules at all? (2011)
by rymohr on Friday November 07, 2014 @01:59PM
(#8574063)
The problem with this approach is you need to consider every existing function name in order to define a new one.
The beauty of commonjs modules is they allow you to focus on implementation, rather than identification. All functions can be anonymous, identified only by their path and named at the whims of the caller.
The beauty of commonjs modules is they allow you to focus on implementation, rather than identification. All functions can be anonymous, identified only by their path and named at the whims of the caller.