Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Most DSLs are bad, partially because most people are bad at designing languages.

A perfectly-designed DSL is still bad just because it's a whole 'nother language for you to build, and for others to learn, that probably isn't needed for whatever project.



I don't know. Eg people seem perfectly happy to use regular expressions for matching text, instead of accessing the same functionality via eg regular functions in their favourite language.


There are a few exceptions that have made the cut for a useful DSL, like SQL, Solidity, and Regex. Unless your project is totally groundbreaking, odds are low that you invent a new language that can be widely adopted.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: