frippa@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agoYes, I program in HTMLlemmy.mlimagemessage-square39fedilinkarrow-up1425arrow-down125
arrow-up1400arrow-down1imageYes, I program in HTMLlemmy.mlfrippa@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agomessage-square39fedilink
minus-squareDiplomjodler@feddit.delinkfedilinkarrow-up9·11 months agoWhich is true for the majority of all XML files I’ve ever come across in the wild.
minus-squareSubArcticTundra@lemmy.mllinkfedilinkarrow-up4·11 months agoI think XML only makes sense if your data is heavily tree-like
minus-squareJoe_0237@lemmy.mllinkfedilinkarrow-up1·11 months agobecause you have a thing against solutions that are both beter and easier
minus-squareSubArcticTundra@lemmy.mllinkfedilinkarrow-up1·edit-211 months agoJSON spreads out tree nodes vertically (with all the attributes), whereas in XML it’s usually one node per line, ie. more compact I suppose. This is just my very niche opinion though
Which is true for the majority of all XML files I’ve ever come across in the wild.
I think XML only makes sense if your data is heavily tree-like
In that case, why not use JSON?
because you have a thing against solutions that are both beter and easier
JSON spreads out tree nodes vertically (with all the attributes), whereas in XML it’s usually one node per line, ie. more compact I suppose. This is just my very niche opinion though