有时候讨论代码的修改,就会说这个实现比较丑/ugly,其实还可以用这个词inelegant。感觉这个更文雅一点。
<— 朗道英汉字典5.0 —>
inelegant
*[in’eligәnt]
n. 不优美, 不雅, 粗野
<— 牛津现代英汉双解词典 —>
inelegant
/ˌɪnˈelɪgənt; ɪn`ɛləˇənt/ adj not graceful or refined; ugly 不优美的; 不雅的; 不精致的; 丑陋的: an inelegant gesture, reply 有失风雅的姿势、答覆.
However this solution is not only inelegant but also quite costly, and the cost grows severely under load when scheduling delays prevent the target thread from waking up right away.