552
        
            
                no.. just no
 
            
            (lemmy.ca)
          
          
          
          
          
        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.
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.