3 ms·
I just came across a situation where I had a DSL but it was clear that a language would have been better. What I don't like about this is the dogmatic tone whic
by zcw100 9mo ago
I just came across a situation where I had a DSL but it was clear that a language would have been better. What I don't like about this is the dogmatic tone which is pretty common in IT. Don't to it that way, do it my way! Sometimes a DSL is a solid choice, sometimes a language is a better one, sometimes you might want to support both but I guess "Choose the right abstraction for your domain" doesn't make for a clickbait title.
- xnorswap 9mo agoIt's not clear what you're trying to say, because the "L" in DSL is "Language".
- 9rx 9mo agoAll programming languages are domain specific, so presumably he is referring to English (or another natural language of the same nature). Meaning that he must be saying that sometimes letting the vibes flow is best.
- zcw100 9mo agoNo, I meant a General Purpose Language (GPL) or actually this was an application specific language. You don't need to be so pedantic. Yes, the L is for language but the idea of a DSL is not well defined but these remarks reinforce my argument that people are too dogmatic.
- xnorswap 9mo agoI wasn't trying to be dogmatic, I was genuinely trying to understand what you were trying to say, because it didn't seem to relate to languages vs libraries, and I found it confusing.