News for hackers. Stuff that matters.
Re:When XML Beats JSON: UI Layouts by hota_mazi on Wednesday October 30, 2019 @06:06PM (#21403359)
- The verbosity is easily addressed by using an IDE which providing smart folding, highlighting, etc...

- Editing XML is actually a lot easier than JSON. Thanks to XML schemas, completion works really well in XML and very poorly (if at all) in JSON.

- Also, XML allows comments, which JSON doesn't.

- You don't need `findViewById()` in 2019 and haven't in a while, really: there are plenty of alternatives available (synthetic accessors, Kotlin, ButterKnife, etc...).

Re:When XML Beats JSON: UI Layouts by nodamage on Wednesday October 30, 2019 @09:27PM (#21404835)
I'm definitely not advocating for JSON here, that would be even worse.
Re:When XML Beats JSON: UI Layouts by nwallin on Wednesday October 30, 2019 @08:35PM (#21404571)
I don't think the person you're replying to is arguing XML vs JSON as much as UI in markup vs UI in native code.