On Tuesday, 29 September 2015 at 05:24:49 UTC, tcak wrote:

Use Case
========
* Include libraries in a project in one step.
* Versioning is much easier. Programmer creates a library with many modules in it. ZIP packs them, and gives a version number to it in filename. No more changes will be made on it. (This is my #1 reasoning)
* Work of newcomers can be eased.

This could be accomplished by including dub in the default installation (already scheduled to happen) and then adding something like pragma("dep", ["lib1", "lib2", "lib3"]).

For better or worse, it looks like the decision has been made to go with Dub. I think it's a mistake, because (i) it increases the learning curve, and (ii) the documentation was not written for newcomers (AFAICT the way to learn is to look at existing packages and then learn by trial and error). But what I think doesn't matter; the decision has been made to use Dub, so there is no chance that another approach will be taken.

Reply via email to