Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
menage
on May 18, 2017
|
parent
|
context
|
favorite
| on:
Swift is like Kotlin
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
on May 18, 2017
[–]
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?
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: