单词 | syntactic sugar | ||||||||||||||
释义 | syntactic sugar
更多释义 收起释义 例句释义: 语法糖,语法糖衣,语法甜头 1. Before I move on to the next iteration example, you should know about one other bit of syntactic sugar regarding Maps in Groovy. 在继续研究下一个迭代例子前,应当了解Groovy中有关Map的另一个语法。 www.ibm.com 2. JUnit users will immediately note that this class lacks much of the syntactic sugar required by previous versions of JUnit. JUnit用户会立即注意到:这个类中没有了以前版本的JUnit中所要求的一些语法成分。 www.ibm.com 3. Finally, you see one more bit of Groovy syntactic sugar you can use when calling getters on a class. 最后,在类中调用getter时,您将看到使用Groovy语法的更多优点。 www.ibm.com 4. When classes were introduced to the code base of what was to become PHP3. 0, they were added as syntactic sugar for accessing collections. 把类的概念引进语言的结果后变成了PHP3。0,也只是把它当语法甜品似的用来处理集合。 bbs.phpchina.com 5. The kind of syntactic sugar you'll find with strings and lists is common in Haskell, but just remember: Everything is a function. 在Haskell中,您会发现在字符串和列表中这种语法代称非常普遍。但是只要记住:一切都是函数。 www.ibm.com 6. We'd probably need some form of syntactic sugar to make these augmented parameter declarations tolerable. 我们或许需要某种形式的语法上的甜头,使这些扩充的参数声明还过得去。 www.ibm.com 7. I'm using Groovy's syntactic sugar to execute a code block, which is to place a set of parentheses adjacent to the code block's variable. 我使用了Groovy的语法糖(syntacticsugar)来执行此代码段,结果放置在代码段变量旁边的圆括号中。 www.ibm.com 8. Go encourages the use of composition and delegation over inheritance, and offers some syntactic sugar to make it more bearable. 相较于继承,Go鼓励使用组合和委派,并为此提供了相应的语法甜点使其更容易接受。 www.infoq.com 9. Syntactic sugar and nifty APIs are intact, as in the case of normal-Java File types, which I'll show you later. 语法糖衣和漂亮的API也没变,就像普通的JavaFile类型的情况一样,我稍后将展示这一点。 www.ibm.com 10. When your language is nowhere near Turing - complete , syntactic sugar can be your friend . 当你的语言没有严谨到接近图灵完整性的时候,最好采用平易的语法。 www.bing.com 1. Combined with some syntactic sugar, this feature permits the user to define methods that look and behave like operators. 结合一些语法上的技巧,这些特性允许用户定义一些看起来像操作符的方法。 www.bing.com 2. The Hamcrest matchers provide a humane interface syntactic sugar on top of the standard JUnit matchers. Hamcrest匹配器将在标准的JUnit匹配器顶部提供一个人本接口(humaneinterface)语法糖。 www.ibm.com 3. Their argument is that a little convenience is not worth the price of corrupting the simplicity of syntactic sugar. 他们的论点是:为了闭包带来的一点点便利而打破原有语法糖的简洁性非常不值得。 www.ibm.com 4. In certain cases, mobl adds syntactic sugar for particular libraries. 在特定的情况下,mobl会为特定的库添加句法的特性。 www.infoq.com 5. Objects were still very much syntactic sugar for associative arrays, and didn't offer users too many additional features. 对象还是像用语法甜品一样去处理关联数组,没有给用户提供更多其他的特征。 bbs.phpchina.com 6. I think this is a good way to move ahead and provides for just about enough syntactic sugar without going the complete JRuby way. 我认为这是一种不断发展和提供足够句法支持而不使用完全JRuby方式的好办法。 www.infoq.com |
||||||||||||||
随便看 |
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。