this post was submitted on 27 Dec 2023
547 points (96.8% liked)
Programmer Humor
19729 readers
98 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was thinking along the lines of
Plenty of libraries can build the XML using structs/classes. e.g. with serde:
Or with jackson-dataformat-xml:
I don't do JS (yet) but maybe JSX could also do similar things with XML queries.
No more matching $1, $2, ... (or
?
for mysql) with individual columns, I could dump entire structs/objects into a query and it would work.