News for hackers. Stuff that matters.
Re:Amazon States Language – A JSON-based language to describ... by Marazan on Saturday December 03, 2016 @05:14AM (#13095164)
Remember when we used XML, and then people started making DSLs in XML and XML was the worst and too 'heavy' and having to write schemas was enterprise and awful and we are totes using lightweight schema free sexy JSON now?

I wonder what the new thing to replace enterprise JSON will be.

Re:Amazon States Language – A JSON-based language to describ... by aindhaden on Saturday December 03, 2016 @05:52AM (#13095244)
It's still going to be XML. JSON is fairly limited, it's literally the serialization format for JavaScript variables, and that one size does not fit all.
Re:Amazon States Language – A JSON-based language to describ... by Marazan on Saturday December 03, 2016 @05:59AM (#13095257)
I'm totally fine with XML. I'm just amazed at the cognitive dissonance anti-Xml pro-Json peeps are starting to display.
Re:Amazon States Language – A JSON-based language to describ... by supergreg on Saturday December 03, 2016 @07:30AM (#13095435)
Yaml looks like the perfect candidate
Re:Amazon States Language – A JSON-based language to describ... by allengeorge on Saturday December 03, 2016 @09:48AM (#13095853)
Isn't it already? After all - YAML in Ansible now includes some control structures no? (Or am I misremembering that?)
Re:Amazon States Language – A JSON-based language to describ... by DCoder on Sunday December 04, 2016 @07:17AM (#13099735)
Yes, Ansible supports conditionals and loops in its playbooks. Ansible 2.0 also introduced blocks, which are effectively a try-catch-finally in disguise.