Re:JSON Feed
by dangerlibrary on Wednesday May 17, 2017 @02:16PM
(#14361164)
It's funny to me that at the same time people are flocking to languages with strong, flexible type systems (often with compile-time checks), we are fleeing from a strongly typed data interchange format in favor of a dynamic bag of objects and arrays.
[ Parent
| on HN ]
I think that's because even if the data interchange format is strongly typed, as a consumer you often still must expect _anything_.
I've yet to work on a project that handles XML where we have a XSD prevalidation step that makes the reading of some deeply nested XML tag feel safe.
Unless we count XML <-> data object binding back in the java days. Not sure that felt any better...