2 ms·
I think science is divided on this question. There's that one study showing that many languages with C-like syntax are as easy to learn to read as languages wit
by kqr 5y ago
I think science is divided on this question. There's that one study showing that many languages with C-like syntax are as easy to learn to read as languages with tokens picked completely at random[1].
But that talks about learning the language. What about once you're proficient?
I vaguely remember reading about a study that concluded more terse symbol-based syntax is better because the programmer can use visual organisation of the code to greater extent because the syntax occupies less of the screen. But I could also be making it up because I can't find it now.
There's also the interesting (but slightly irrelevant) result that abbreviated identifier names may be just as effective as ones spelled out![2]
[1]: https://dl.acm.org/doi/abs/10.1145/2534973 https://dl.acm.org/doi/abs/10.1145/2534973
[2]: https://link.springer.com/article/10.1007/s11334-007-0031-2 https://link.springer.com/article/10.1007/s11334-007-0031-2