|
|
|
|
|
by alisnic
3971 days ago
|
|
Am I missing something? Why is there a need for a separate programming language for a use case like this? Don't we have enough programming languages to get by? Why a library wouldn't suffice? It just does not seem reasonable to me to dump an ecosystem built by an established programming language to solve a domain problem |
|
Yes, you're missing an entire huge world of the domain-specific languages.
> Don't we have enough programming languages to get by?
No, not even nearly enough. There is no such thing as a general-purpose programming language. Every little problem domain needs its own language.
> Why a library wouldn't suffice?
Because libraries enforce leaky abstractions.
> It just does not seem reasonable to me to dump an ecosystem built by an established programming language to solve a domain problem
Then you really do not understand the value of DSLs. And you don't have to dump anything, eDSLs allow everything to co-exist nicely.