ternary operator 中文意思是什麼

ternary operator 解釋
三元運算元
  • ternary : adj. 1. 三個的,三個組成的,三重的。2. 第三的。3. 【化學】三元[成分]的;【數學】三元的,三變數的,三進位的。
  • operator : n 1 操作者,機務員;司機,駕駛員;【軍事】電話兵;【電話】接線員,話務員(=telephone operator)...
  1. Although c ( where this operator originated ) prides itself on being a terse language, and the ternary operator might have been introduced partly for efficiency, you should be somewhat wary of using it on an everyday basis ? it ' s easy to produce unreadable code

    盡管c引以為傲的就是它是一種簡練的語言,而且三元運算符的引入多半就是為了體現這種高效率的編程,但假若您打算頻繁用它,還是要先多作一些思量? ?它很容易就會產生可讀性極差的代碼。
分享友人