ternary
常见例句
- Note that the [[ key-mapping in the previous example uses an expression containing a C-like "ternary expression"
注意,上例中的 [[ 鍵映射使用了一個包含類似 C 的 “三元表達式” 的表達式 - Because if statements are expressions in Scala, there is no need for the special-case ternary conditional expressions that exist in C-derived languages.
因爲在Scala 裡if 語句是一個表達式,所以就不需要C 類型子語言的三重條件表達式了。 - One of these had a particular three-part or ternary pattern attributed to J. S. Bach’s son, Carl Philipp Emanuel Bach (1714–1788), which is now called sonata form.
其中的特定的三部或三元格式,是由巴赫的兒子卡爾.菲利普.伊曼紐爾.巴赫(1714-1788)創作出來的,這就是現在所謂的奏鳴曲式。 返回 ternary