News for hackers. Stuff that matters.
Re:Building DSLs in Swift by acoye on Sunday October 14, 2018 @09:23PM (#18216747)
> Android's xml files are a pleasure to work with.

I would disagree with this statement.

I hate anything XML when I have to touch it manually. I greatly prefer yaml or even json for something usable by humans.

Autolayout notation can look confusing, but I have a light background in CAD and I reason with Screw theory. IE what are the smallest number of constraint for my system to be stable …

So to me, oddly, I always found Autolayout easy. https://en.wikipedia.org/wiki/Screw_theory

Re:Building DSLs in Swift by kbenson on Sunday October 14, 2018 @10:19PM (#18216984)
> I hate anything XML when I have to touch it manually. I greatly prefer yaml or even json for something usable by humans.

So... is there an export to/import from JSON option or tool? Seems like this is something that wouldn't be too hard, given you likely have rules for how the XML is supposed to be defined, so if the JSON is ill-formatted it can just report a useful warning about why.