News for hackers. Stuff that matters.
Re:NestedText, a nice alternative to JSON, YAML, TOML by thaumaturgy on Saturday October 03, 2020 @06:53PM (#24675269)
Magento is a popular codebase that made XML-based configuration a fundamental part of its architecture. The results were terrible and caused numerous headaches and countless hours lost to trying to troubleshoot inscrutable configuration issues. The Magento 2 codebase began a shift away from XML for configuration, although it still uses some.

There may be room for an argument that Magento did XML badly (it did many things badly), but I don't believe I've ever seen XML done well.

Re:NestedText, a nice alternative to JSON, YAML, TOML by vbezhenar on Saturday October 03, 2020 @10:49PM (#24676193)
I love XML configuration in Spring.
Re:NestedText, a nice alternative to JSON, YAML, TOML by imtringued on Tuesday October 06, 2020 @04:46AM (#24695836)
I don't get it. The @Configuration and @Bean annotations are at least 100 times more readable and powerful than whatever garbage people used to write into their xml files to define beans. 20 lines of xml are often equivalent to like 8 lines of Java and each of those Java lines is shorter than the xml equivalent. Repeating closing tags is not very interesting.