Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I like the Node ecosystem because there is no punishment to extracting the contents of /utils to various NPM packages and reusing them across projects.
-
@eo2875 I prefer thematic libraries, but it doesn't really matter; the gist is that you can turn anything into a package without significant additional preparations and publish instantly anytime if you thought of an improvement.
-
tbh I'd rather this than a jumbled mess of spaghetti that tries to reinvent the wheel.
-
hjk10157314yI can see how this can happen. I made a util package that is a class library. Grew out to include some patterns (sets of classes practically always used together) that could exist in there own package. Class autoloading didn't make it heavy on the system though. So in a lot of projects util is the core.
Come think of it; it actually started out as core components in a large integration project. The components where generic enough they could be used in another project so it was split off as a package/dependency.
Related Rants
The core of our code is under "utils"
joke/meme
utils
core