开发者

What domain specific language have you used that you feel should be standardized across all languages?

开发者 https://www.devze.com 2023-01-23 21:02 出处:网络
DSLs improve code readability and expressivenessand more importantly give a significant level of abstraction..

DSLs improve code readability and expressiveness and more importantly give a significant level of abstraction..

You can agree that regular expressions, once you h开发者_开发技巧ave mastered them , text processing becomes easy in any programming language you will learn. What domain specific language have you used that you feel should be standardized across all languages?


Mathematics


A standard notation for lambda expressions would be nice.


I am particularly enamored with Groovy's XmlSlurper as a "good" language syntax for XML:

  1. facilitates XPath-ish (i.e. GPath) statements
  2. direct access to nodes and attributes using simple dot notation syntax as opposed to "getNode()" or "getAttribute()" API calls.
0

精彩评论

暂无评论...
验证码 换一张
取 消