Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
menage
· 9y ago · 0 comments
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.
Comments
[–]
lauritzsh
9y ago
How would you feel about
> 1 through 3 # [1, 2, 3] > 1 until 3 # or 1 to 3 # [1, 2]
as explicit word range notation?