I hate new DUB config format

Chris via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 26 02:53:38 PST 2015


On Thursday, 26 November 2015 at 09:04:27 UTC, Ilya Yaroshenko 
wrote:
> On Thursday, 26 November 2015 at 08:50:42 UTC, Sönke Ludwig

>
> 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 an important point. JSON can be used by tools other than 
DUB (IDEs etc.)

Let me suggest the following:

1. JSON as default format in DUB when you type `dub init`; SDL as 
second option
2. a JSON <=> SDL converter (will be needed for community 
projects)
3. add the ability to add comments to JSON files in DUB, so DUB 
can handle comments in JSON and JSON's biggest disadvantage 
disappears (as does the bikeshed)






More information about the Digitalmars-d mailing list