The DUB package manager

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sun Feb 17 13:13:29 PST 2013


On Sun, 17 Feb 2013 16:14:25 +0100
Johannes Pfau <nospam at example.com> wrote:

> Am Sun, 17 Feb 2013 00:20:48 -0800
> schrieb Jonathan M Davis <jmdavisProg at gmx.com>:
> > 
> > It's also whitespace-sensitive, which is downright evil IMHO. I'd
> > take JSON over YAML any day.
> > 
> 
> Are you sure? YAML 1.1 required whitespace after comma and in some
> more cases, but YAML 1.2 dropped that to be 100% compatible with
> JSON. If you write JSON you have valid YAML and you can write YAML
> that is valid JSON.
> 

The JSON-compatible subset of YAML is whitespace-insensitive, but
indent-scoping is one of the key features YAML adds on top of that.



More information about the Digitalmars-d mailing list