4 ms·
> Don't Write a Programming Language Is why we've arrived at using JSON for declarations instead of a nice domain-specific language. So while I would agree tha
by intrasight 5y ago
> Don't Write a Programming Language
Is why we've arrived at using JSON for declarations instead of a nice domain-specific language. So while I would agree that you almost certainly don't need a "programming language", you should definitely consider a DSL over just using JSON.
- lolinder 5y agoJSON config formats are DSLs—they're embedded in JSON for syntax, but the semantics have to be defined separately. Yes, for some applications a JSON DSL is inappropriate, and lots of people dislike the syntax. But it's not a choice between "JSON" and "DSL", it's a choice between using an established syntax or defining your own.
- intrasight 5y agoOkay. I probably should have said "Domain Specific Syntax". But DSL is the standard term.