r/ProgrammingLanguages • u/AustinVelonaut Admiran • Jan 14 '26
Build Your Own Programming Language
https://thesephist.com/posts/pl/
47
Upvotes
r/ProgrammingLanguages • u/AustinVelonaut Admiran • Jan 14 '26
View all comments
Show parent comment
1
u/XenForq0 Jan 30 '26
I mostly agree that languages are contracts and sets of defaults.
But that doesn’t support the claim that “languages emerge from problems.”
That conclusion simply doesn’t follow.
If every GP language is considered a DSL just because it introduces constraints and standards, then the term DSL loses any meaningful value. Expanding definitions doesn’t strengthen the argument.
Languages are indeed built around contracts, as you said — but that’s a design choice, not problem-solving in itself. Many concepts (like OOP) predate C++ and modern OOP languages. C++ didn’t “solve” OOP as a problem; it standardized and formalized existing practices.
DSLs make sense when the problem domain is narrow and stable.
But framing general-purpose language design around that idea is closer to philosophy than engineering.