Including Dub with D

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Sat May 24 10:30:50 PDT 2014


On 5/24/2014 12:42 PM, Jeremy Powers via Digitalmars-d wrote:
> On Fri, May 23, 2014 at 7:39 AM, Dicebot via Digitalmars-d <
> digitalmars-d at puremagic.com> wrote:
>
>> Original thread : http://forum.rejectedsoftware.
>> com/groups/rejectedsoftware.dub/thread/2/
>> Summary by Sonke: https://github.com/rejectedsoftware/dub/wiki/Sdl-
>> based-package-format-draft
>
>
> Thanks.
>
> Personally, I don't find the arguments for switching convincing.  Perhaps
> moving to an extended JSON that supports comments and other niceties, but
> moving to an entirely new format seems excessive.  The nice thing about
> JSON is that it is commonly used everywhere, making dub easy to approach
> and easy to write tooling for - even after a switch to SDL as the primary
> format, I can see many folks and tooling continuing to use JSON.  Without
> removal of JSON support you are stuck supporting two formats...
>
> tl;dr I think it is a bad idea.
>

Nobody has said anything about removing JSON support. It's been stated 
that JSON support is *staying* as an option. SDL will merely be the 
recommended format.

Sayeth Sonke:

"The plan is to keep full support for the JSON based package description 
and still use it for machine-to-machine communication, but at the same 
time add the new format as the preferred way for developers to write."
  - 
https://github.com/rejectedsoftware/dub/wiki/Sdl-based-package-format-draft



More information about the Digitalmars-d mailing list