4 ms·
I think there's a compromise between being recognisable as a mathematical formula and removing operator precedence which is what APL and other array languages d
by rak1507 5y ago
I think there's a compromise between being recognisable as a mathematical formula and removing operator precedence which is what APL and other array languages do. (a×1-t)+b×t is how you'd write it in APL, no operator precedence but still more familiar.
- user-the-name 5y agoThat absolutely breaks the law of least astonishment. It's worse to look familiar but have hidden differences than to just look completely different.
- rak1507 5y agoYeah maybe, but in my opinion it's better than the alternative (having loads of operator precedence rules that can change subtly between languages and never really being sure of anything).