3 ms·
> Want to read/write pretty-arbitrary JSON? Good luck) I'm surprised this myth perdures. Reading arbitrary anything is trivial in a statically typed language:
by hota_mazi 10y ago
> Want to read/write pretty-arbitrary JSON? Good luck)
I'm surprised this myth perdures.
Reading arbitrary anything is trivial in a statically typed language: use a hash map.
There. You're merely emulating what a dynamically typed language gives you, of course, but it's trivial. And at least, statically typed languages give you the choice: you can be dynamic or static. You don't have such a choice when you don't have types.