Re:How to Avoid Being Called a Bozo When Producing XML (2005)
by 0xcde4c3db on Sunday July 31, 2016 @03:11PM
(#12198370)
I think the benefit of a serialization library is going to depend on how complex and dynamic your actual output is. I've done XML-by-printing, but in that case the XML elements were fixed scaffolding with no relation to our internal object hierarchy (A containing array of B containing array of C containing array of D, always, regardless of how our application changed). It was also on an embedded system for which adding libraries was kind of painful.
[ Parent
| on HN ]
Re:How to Avoid Being Called a Bozo When Producing XML (2005)
by spdionis on Sunday July 31, 2016 @06:06PM
(#12199146)
If I need to communicate with a couple of external endpoints that need 5-10 lines of mostly static xml amd the templating is simple i often might prefer using a static templated xml file.
It's much easier to understand what's happening later.