Before we implement SDL package format for DUB

Jonathan Marler via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 25 12:48:27 PDT 2014


On Monday, 25 August 2014 at 19:25:50 UTC, Gary Willoughby wrote:
> On Monday, 25 August 2014 at 18:40:02 UTC, Jonathan Marler 
> wrote:
>> That would have also been my first reaction. However, instead 
>> of immediately dismissing the idea, it would be more 
>> productive to state why you think the language is not a good 
>> fit, or why you think SDL will do just fine. I explained why I 
>> think ASON would be a better fit than SDL, do you have a 
>> counter-argument?
>
> Yes i do, it's simple, we don't need yet another markup 
> language.

You say "It's simple". How do you define simple...is ASON not 
simple?  I included the full grammar, it doesn't seem very 
complex to me.  Also you say, "we don't need another markup 
language".  That's what I was asking you to explain.  The reason 
we are looking into new languages is because of the list of 
grievances we have with JSON (see the original post).  Are you 
saying that people's problems with JSON are invalid?  Also, 
what's wrong with new languages?  If you have a problem with new 
languages, what are you doing here on the D forum?  Sounds like 
C++ is a better fit for you.

>
>> It would make you not want to use DUB? Could you please 
>> explain why?
>
> Because learning a markup language tied exclusively to dub 
> means more work to use it. It means i have to learn yet another 
> markup language to package my code for others. Please answer 
> why should i bother?

Well I just invented ASON last saturday so I don't know how 
people will react to it.  If DUB ends up using it I hope it isn't 
exclusively used with DUB. I plan on introducing it at my work (I 
work at HP) so we may start using it here.  Also, is ASON really 
that hard to learn?  Here's my full tutorial on moving from JSON 
to ASON:

1. Comments are supported...yay!
2. No need to quote strings if you don't want to.
3. No need for colons or commas if you don't want them.

There's a couple more features you can use like SingularNames and 
Nameless fields but don't worry about those, those features come 
with the advanced course that takes alot longer.  Don't go there 
unless you're willing to give up 5 minutes of your day.

> I have read it and i don't agree with inventing yet another 
> markup language.

You still haven't explained why inventing new languages is bad.  
If we had it your way we'd still be using assembly language.  
Just because computer languages have been around for a while 
doesn't mean they still can't be improved.  D is a perfect 
example of that.  Instead of just writing things that you assume 
are always correct, take the time to look at the situation and 
provide useful insight as to why you think this particular 
language is not a good fit.

>
>> That's fine, if we used ASON you could just continue to use 
>> plain old JSON.
>
> If that's the case why do we need ASON?

Please see the original list of JSON grievances.  I would say the 
main one is COMMENTS.



More information about the Digitalmars-d mailing list