News for hackers. Stuff that matters.
Re:GUI development with Rust and GTK 4 by zer0zzz on Tuesday April 25, 2023 @10:18AM (#35700837)
xml is dated and gross
Re:GUI development with Rust and GTK 4 by thechao on Tuesday April 25, 2023 @10:20AM (#35700885)
I really like XML a lot; I've gotten large numbers of people to use XML & XSLT, where I work. XML is dated, and it is gross. Here's the two things the XML ecosystem nailed, which tie me to it:

1. A dedicated tree-based transformation language (XSL); and,

2. Axis-queries (Xpath).

If I could Xpath all-the-things, I'd be a happier human. Although, I also feel like I should be able to SQL all-the-things, too. Maybe I'm just a sucker for structured-data query-languages?

Re:GUI development with Rust and GTK 4 by wellanyway on Tuesday April 25, 2023 @12:15PM (#35702520)
XSLT is garbage tho.
Re:GUI development with Rust and GTK 4 by thechao on Tuesday April 25, 2023 @02:23PM (#35704568)
XSLT the syntax leaves a bit to be desired. There's also a number of highly questionable default behaviors that are really unfortunate. OTOH, the concept of a term-rewriting tree-matching language is pretty great.
Re:GUI development with Rust and GTK 4 by regularfry on Friday April 28, 2023 @12:53PM (#35743917)
Also namespaces. When you need them, you really need them.
Re:GUI development with Rust and GTK 4 by 0x457 on Tuesday April 25, 2023 @06:56PM (#35707841)
Replace xml with anything else. You're not writing XML. It's just a format used by a layout editor. The issue with this strategy is merge conflicts and diffs that make little sense to a human reviewer.