Syntactic sugar causes cancer of the semi-colons.
语法的糖衣会导致分号的癌症。
In certain cases, mobl adds syntactic sugar for particular libraries.
在特定的情况下,mobl会为特定的库添加句法的特性。
Ruby offers enough syntactic sugar to make it feasible (and desirable) to cast abstractions as DSLs.
Ruby提供足够的语法优势以便使其可执行(并可取)投放抽象概念作为DSL。
The Provider recipe is the core recipe type and all the other ones are just syntactic sugar on it.
供应者方式是核心方式,所有其它方式都是它的语法糖。
The Hamcrest matchers provide a humane interface syntactic sugar on top of the standard JUnit matchers.
Hamcrest匹配器将在标准的JUnit匹配器顶部提供一个人本接口(humane interface)语法糖。
We'd probably need some form of syntactic sugar to make these augmented parameter declarations tolerable.
我们或许需要某种形式的语法上的甜头,使这些扩充的参数声明还过得去。
JUnit users will immediately note that this class lacks much of the syntactic sugar required by previous versions of JUnit.
JUnit用户会立即注意到:这个类中没有了以前版本的JUnit中所要求的一些语法成分。
Combined with some syntactic sugar, this feature permits the user to define methods that look and behave like operators.
结合一些语法上的技巧,这些特性允许用户定义一些看起来像操作符的方法。
In other languages, the abstractions and sweet (if helpful) syntactic sugar that attend the code conceal the heartbeat.
在其它语言里,各种的抽象、甜腻的语法呵护着你的代码,让你看不到它的心跳。
Strings are simply syntactic sugar for a list of characters, and lists such as [1, 2, 3] are syntactic sugar for 1:2:3: .
字符串只是字符列表的语法代称而已,像[1,2,3]这样的列表则是1:2:3:的语法代称。
Go encourages the use of composition and delegation over inheritance, and offers some syntactic sugar to make it more bearable.
相较于继承,Go鼓励使用组合和委派,并为此提供了相应的语法甜点使其更容易接受。
The kind of syntactic sugar you'll find with strings and lists is common in Haskell, but just remember: Everything is a function.
在Haskell中,您会发现在字符串和列表中这种语法代称非常普遍。但是只要记住:一切都是函数。
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的语法糖(syntactic sugar)来执行此代码段,结果放置在代码段变量旁边的圆括号中。
Decorators are pure syntactic sugar—or (according to Wikipedia) "additions to the syntax of a computer language that do not affect its functionality but make it 'sweeter' for humans to use."
修饰符是一些纯粹的语法糖(syntactic sugar)—或者(如Wikipedia 所言)“对计算机语言语法的补充,这些补充并不影响语言的功能,而是会让语言变得更易于被人使用。”
Decorators are pure syntactic sugar—or (according to Wikipedia) "additions to the syntax of a computer language that do not affect its functionality but make it 'sweeter' for humans to use."
修饰符是一些纯粹的语法糖(syntactic sugar)—或者(如Wikipedia 所言)“对计算机语言语法的补充,这些补充并不影响语言的功能,而是会让语言变得更易于被人使用。”
应用推荐