Hacker News new | ask | show | jobs
by behnamoh 1972 days ago
One could also argue that DSLs are not always good esp. in large projects maintained by many devs.
2 comments

I think the counterargument is that in large projects, you will end up with DSLs whether you meant to or not. The philosophy of language oriented programming (LOP), as I take it or understand it, is that since you'll end up with them anyway, why not approach and build DSLs explicitly.
Another word for DSLs is functions (and objects).

DSLs are just better integrated into the base language so your source code doesn't look like:

    three = two.add(one)