• So be sure to ponder your reasons when choosing the ternary operator.

    所以挑选三元运算符,请务必权衡一下利弊。

    youdao

  • This new operator is, in fact, a shortcut notation for the ternary operator.

    这个操作实际上一个三目操作符便捷记法

    youdao

  • For Java developers, this is exactly the way the ternary operator — the? : expressionworks.

    表达式——工作方式

    youdao

  • The second occurrence of the name variable is simply omitted and the ternary operator is no more ternary and is shortened to this more concise form.

    name变量第二出现简单忽略了,三操作符不再三目的了,缩短这种简明的形式。

    youdao

  • PHP has the ternary operator (foo?bar:baz) and an enormous (and unwieldy) list of function names, with all kinds of naming conventions; you'll find Python a lot cleaner.

    PHP 使用三元操作符foo?bar:baz和冗长函数名列表,而命名约定更是无所不有;相反,发现Python 要简洁多了

    youdao

  • This expression can be as simple as a variable (as shown in Listing 2) or a method call (like getList()), or a complex expression that involves boolean logic or a ternary operator.

    表达式可以简单到就是变量如清单2或者是一个方法调用(例如getList()),亦或是包含布尔逻辑三目运算符复杂表达式。

    youdao

  • Avoid using the ternary conditional operator.

    避免使用3条件运算符。

    youdao

  • Avoid using the ternary conditional operator.

    避免使用3条件运算符。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定