4 ms·
Then you're not really adding syntax, just re-using existing syntax.
by reikonomusha 5y ago
Then you're not really adding syntax, just re-using existing syntax.
- bmitc 5y agoThat was my point, that you can have “literal” JSON in the language without special syntax, which is preferred since it can be processed with all the built in language functionality. By the way, Elixir does have macros.
- reikonomusha 5y agoUnderstood, but the fanfare is coming from the fact one can take a language without JSON, or SQL, or infix notation, or ..., and add it as a library. It means the language itself is flexible enough to support future paradigms and standards at the code level without a language redesign. I agree it's nice when something as common today as JSON is built in to a language. But for something like Common Lisp, whose roots are now nearly 40 years old, the fact it can easily support JSON literals is nothing short of amazing.
- deleted 5y ago[deleted]