On 6/9/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> What do you all think, then? (/me dons asbestos suit, waits for the holy war
> to start :)

I can't possibly imagine how can anyone *not* understand YAML
dead-simple syntax.

YAML was designed specifically for being able to be read and written
by human beings without much effort. And it accomplishes it nicely,
IMO.

Particularly, Catalyst config files need the ability to express
arbitrary data structures so the only format you suggested which would
satisfy this requirement would be JSON (otherwise you're thinking
about being *really* creative in order to express a hash of hashes
using INI syntax).

However, JSON is still considerably uglier and "dirtier" than YAML.

{
  'View::TT': {
    INCLUDE_PATH: "__path_to('root')__"
  }
}

vs

View::TT:
  INCLUDE_PATH: __path_to('root')__

-Nilson Santos F. Jr.

_______________________________________________
Catalyst mailing list
[EMAIL PROTECTED]
http://lists.rawmode.org/mailman/listinfo/catalyst

Reply via email to