logoalt Hacker News

Tweylast Sunday at 5:11 PM0 repliesview on HN

> I think Kotlin nails it: val, var, fun. Note all three are monosyllable, unlike const and fn!

At least in my pronunciation, all five of those are monosyllabic! (/kQnst/, /f@n/).

(Nice to see someone agree with me on minimizing syllable count, though — I definitely find it easier to chunk[1] fewer syllables.)

[1]: https://en.m.wikipedia.org/wiki/Chunking_(psychology)

The use of Ruby block parameters for loops in a language without first-class blocks/lambdas is a bit weird to me. I might have preferred a syntax that looks more like normal variable binding.