What Makes A Programming Language Good

retard re at tard.com.invalid
Wed Jan 19 12:10:24 PST 2011


Wed, 19 Jan 2011 20:01:28 +0000, Adam Ruppe wrote:

>> I meant that if the latest version 0.321 of the project 'foobar'
>> depends on 'bazbaz 0.5.8.2'
> 
> Personally, I'd just prefer people to package their damned dependencies
> with their app....
> 
> But, a configuration file could fix that easily enough. Set one up like
> this:
> 
> 
> bazbaz = http://bazco.com/0.5.8.2/
> 
> 
> Then it'd try to download http://bazco.com/0.5.8.2/bazbaz.module.d
> instead of the default site (which is presumably the latest version).
> 
> This approach also makes it easy to add third party servers and
> libraries, so you wouldn't be dependent on a central source for your
> code.
> 
> 
> Here's a potential problem: what if bazbaz needs some specific version
> of something too? Maybe it could check for a config file on its server
> too, and use those directives when getting the library.

How it goes is you come up with more and more features if you spend some 
time THINKING about the possible functionality for such a tool. Instead 
of NIH, why don't you just study what the existing tools do and pick up 
all the relevant features. Why there are so many open source tools doing 
the exactly same thing is that developers are too lazy to study the 
previous work and start developing code before the common sense kicks in.


More information about the Digitalmars-d mailing list