12:36 AM
[5 x Int] から [5 of Int] に変わった。
12:40 AM
It is likely that Swift's choice (deviating from many of its peers) to emphasize its dynamic array through sugar, has led to a negative impact on the culture of writing performant Swift code, with the nicely sugared dynamic arrays (and array value literals) being over-favored.
12:40 AM
Arrayのシュガーによって高速なコードを書く文化に悪い影響があったかもしれない、だそう (edited)
12:44 AM
This is likely a hypothetical concern rather than a practical one since of is very rare as a variable name. The previous proposal's use of x involved a variable name that was more common.
ofとxの特性はほぼ一緒だけど、変数名が被るとややこしい問題に関して of の方が x よりレアだからベター