开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜