Before we implement SDL package format for DUB
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 27 06:32:55 PDT 2014
On Wednesday, 27 August 2014 at 09:27:03 UTC, Sönke Ludwig wrote:
>> That's justified, because SDL fails to not surprise. Curly
>> brace
>> syntaxes are not line-delimited not requires backslash line
>> continuations.
>
> Like JavaScript for example?
You mean its feature where it can work without semicolons? Yeah,
that's a silly feature, but it's not forced on everyone. I have
never hit it in my code.
> The reason to search for an additional format is to make it
> more convenient and readable for human interaction. XML
> wouldn't structurally a bad choice, but is awful because of
> it's syntactical overhead.
Aren't people more concerned with writing XML rather than
reading? Syntax makes for easier reading and tedious writing.
And overhead is not really big:
"menu": { "id": "file", "value": "File" }
<menu id="file" value="File"/>
It's even shorter!
More information about the Digitalmars-d
mailing list