siriusmart@lemmy.world to Programmer Humor@programming.dev · 2 months agoso my friend asked me to explain whats an rss feedlemmy.worldexternal-linkmessage-square45fedilinkarrow-up1434arrow-down119
arrow-up1415arrow-down1external-linkso my friend asked me to explain whats an rss feedlemmy.worldsiriusmart@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square45fedilink
minus-squareGTG3000@programming.devlinkfedilinkarrow-up1arrow-down1·2 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.