I hate new DUB config format
Sönke Ludwig via Digitalmars-d
digitalmars-d at puremagic.com
Thu Nov 26 08:10:08 PST 2015
Am 26.11.2015 um 16:43 schrieb Ilya Yaroshenko:
> On Thursday, 26 November 2015 at 10:19:13 UTC, Mike Parker wrote:
>> On Thursday, 26 November 2015 at 09:04:27 UTC, Ilya Yaroshenko wrote:
>>
>>>
>>> Single language, json based configuration engine is simpler for IDE
>>> development and configuration tools. For example, Sublime Text.This
>>> is very important to make language used by big amount of users.
>>>
>>> Ilya
>>
>> This is not even an issue. IDEs can create a dub.json for all new
>> projects and call 'dub describe' on imported projects without ever
>> touching SDLang. Again, *there is no problem here*.
>
> The problem is dependency from dub because some dependencies of a
> project can have SDL configs.
The only valid reason for an IDE to directly parse the package
description is basically if it wants to provide a custom UI for editing
it. If the IDE is written in D, it can easily use DUB as a library and
not only get the package description in a common format, but also nicely
statically typed. If not, the conversion feature that was planned for
the next version would trivially solve that, too.
More information about the Digitalmars-d
mailing list