siriusmart@lemmy.world to Programmer Humor@programming.dev · 3 months agoso my friend asked me to explain whats an rss feedlemmy.worldimagemessage-square44fedilinkarrow-up1434arrow-down117
arrow-up1417arrow-down1imageso my friend asked me to explain whats an rss feedlemmy.worldsiriusmart@lemmy.world to Programmer Humor@programming.dev · 3 months agomessage-square44fedilink
minus-squareGTG3000@programming.devlinkfedilinkarrow-up1arrow-down1·3 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.