News for hackers. Stuff that matters.
Re:Building DSLs in Swift by mmjaa on Monday October 15, 2018 @04:44AM (#18218277)
>Why can't we have simple declarative markup to create UI?

Having spent years on this crap, I can only conclude that it is such a dire, revolting mess for one reason and one reason only: vendor lockin.

You're not going to be taking that UI code anywhere else. And that's the point, imho.

Re:Building DSLs in Swift by oblio on Monday October 15, 2018 @05:51AM (#18218511)
And that's the same reason HTML/CSS are so complex. Everyone is contributing to standards, which is already hard to do, and many of the contributing parties have competing platforms. It's in their best interest to, if not sabotage, at least make the web platform super complex and clunky to discourage or slow down development.
Re:Building DSLs in Swift by mmjaa on Monday October 15, 2018 @06:27AM (#18218646)
I agree 100% and this is why its such a clustfuck: the only way out is for me to create my own, competing, UI standard. Oh damn, its a burning pile of garbage, I'll just throw some more on it ..