2 ms·
As someone who's never programmed in Scala, it's not intuitive to me at all that "until" means exclusive, given that "to" (which is basically a synonym) means i
by menage 9y ago
As someone who's never programmed in Scala, it's not intuitive to me at all that "until" means exclusive, given that "to" (which is basically a synonym) means inclusive.
- lauritzsh 9y agoHow would you feel about > 1 through 3 # [1, 2, 3] > 1 until 3 # or 1 to 3 # [1, 2] as explicit word range notation?