siriusmart@lemmy.world to Programmer Humor@programming.dev · 4 months agoso my friend asked me to explain whats an rss feedlemmy.worldimagemessage-square44fedilinkarrow-up1442arrow-down119
arrow-up1423arrow-down1imageso my friend asked me to explain whats an rss feedlemmy.worldsiriusmart@lemmy.world to Programmer Humor@programming.dev · 4 months agomessage-square44fedilink
minus-squareGTG3000@programming.devlinkfedilinkarrow-up1arrow-down1·4 months agoYeah, I remember when I was trying to parse XML into some lua tables and it forever stumped me how to represent something like <thing important_param=10 other_param="abracadabra"> stuff </thing> You just have to have different ways to turn different tags into stuff in your program and that’s a huge amount of overhead to think about when all I want is a hash map and maybe an array.
Yeah, I remember when I was trying to parse XML into some lua tables and it forever stumped me how to represent something like
<thing important_param=10 other_param="abracadabra"> stuff </thing>
You just have to have different ways to turn different tags into stuff in your program and that’s a huge amount of overhead to think about when all I want is a hash map and maybe an array.