--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
There are merits to both approaches for sure so it's hard to go wrong, as long as whichever approach used embraces its strengths. If I were in your position, I would probably keep the monolith, for some of the reasons you stated. I expect the effort in splitting it up, from both a quiver developer and quiver consumer perspectives, would be effort not worth the value.
The comparison to guava is natural. In practice I like that guava is one package because it means I get a lot of high quality conveniences on my classpath, easily discovered via my IDE. "I wonder if there's a guava way to do this?" is a question I ask myself and pretty commonly get a great answer just by searching types in my IDE. This experience translates especially well to dart because of built in tree shaking. (On the other hand, the jdk has more warts and holes compared to the dart sdk of course, so guava has more opportunity to shine there.)
One downside I can see (in either strategy, really) is there is potential for some redundancy between quiver and specialized packages like collection and async. I expect it will take some discipline to keep quiver and these packages distinct and non-overlapping. Perhaps new features should first be considered in a specialized library before adding them to quiver. In any case, some clear guidelines would be appreciated for contributors and consumers alike.
Cheers!
DelegatingList
from "package:collection/wrappers.dart" instead".> In either case, the Dart core libraries should document themselves and not suggest other 3rd party packagesThey suggest 3rd part packages already, they just don't do it consistently. E.g. go to https://api.dartlang.org/stable/1.18.1/dart-collection/ListBase-class.htmland find the phrase:" or, preferably, useDelegatingList
from "package:collection/wrappers.dart" instead".
True, the location of the package is a bit off, but you can google it - and you will find it ... in quiver!!!.
My revised suggestion: *for library extensions*, have a curated list, referred to from main page via "see also" reference . By "curated", I mean "curated by dart proper", not by some random dude with too much time on his hands.How about that?