3 ms·
I don’t know Scala, and found interesting the way each occurrence of the anonymous determiner refers to the next item in the sequence. I’m not fan of using unde
by psychoslave 3y ago
I don’t know Scala, and found interesting the way each occurrence of the anonymous determiner refers to the next item in the sequence. I’m not fan of using underscore for this however. I think that a new reserved word worth the clarity it brings. For example "thither"[1], "thilk"[2] or even "said" (as in aforesaid) or "such" are both rare enough to lower possible collision in existing code bases, and explicit (you only have to discover it once at worst) to make a good trade of, to my mind.
[1] https://en.wiktionary.org/wiki/thither https://en.wiktionary.org/wiki/thither
[2] https://en.wiktionary.org/wiki/thilk https://en.wiktionary.org/wiki/thilk
[3] https://en.wiktionary.org/wiki/said#Determiner https://en.wiktionary.org/wiki/said#Determiner