The DUB package manager

Sönke Ludwig sludwig at outerproduct.org
Sat Feb 16 11:07:52 PST 2013


Am 16.02.2013 19:10, schrieb Jacob Carlborg:
> 
> Using a full blow language can look pretty declarative as well:
> 
> name = "my-library";
> dependencies = ["mysql-native": ">=0.0.7"];
> 
> I don't see why something like the above would scare away people. It's
> even less code than the JSON above.
> 

I was thinking more along the lines of make, cmake, D based build
scripts in the form as proposed in the past here and others. Such
procedural build files often tend to get bloated over time and hard to
work with. While this is not necessarily a problem with the tools
itself, it can still make people look for alternatives.

That said, if a scripting language is used (almost) purely to provide a
declarative system as in your example, it doesn't have to be bad at all.
The question that arguably remains is just if the added flexibility is
actually useful or necessary and if such a thing "pulls its own weight"
(WRT implementation and API complexity).


More information about the Digitalmars-d mailing list