montagejs / collections

This package contains JavaScript implementations of common data structures with idiomatic interfaces.
http://www.collectionsjs.com
Other
2.09k stars 185 forks source link

Splitting into smaller modules? #100

Closed mattdesl closed 9 years ago

mattdesl commented 9 years ago

This project is really awesome, and the v2 branch is looking good with less intrusive monkey patching. :+1:

Maybe once things get a bit more stable, it would be worth pulling some of the utilities into their own modules. The main benefit is version management. So you can bump major/minor/patch versions of, say, "fast-map" independently of all the other collections. The collections can remain backwards-compatible as an entry point to the other modules (like you're already doing with weak map).

kriskowal commented 9 years ago

Managing the scope of a package or project is a difficult balance. In this case, there is a lot of interdependence among collections and a lot of value gained from cross-testing each of similar classes of collection. From a project management standpoint, it is easier to maintain a uniform level of quality across all collections as they are in a single package. I don’t intend to break this one up.

mattdesl commented 9 years ago

Fair enough !