30 points · by allenleee · 11y ago · 18 comments
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.
> 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.
How about using a language that lets you build DSLs from it? Lisps are especially good choice.
I don't really see the point in createing a new language that is 95% identical to everything else, only to tweak that last 5%. Yes, you're still using a library, you're just hiding it inside the compiler.
IMHO there is no real benefit of creating a "new" language compared to e.g. just using Lua + C.