Join Slack
Powered by
<@U0B8XH4HF>: for example: `0..list.size()` will i...
# announcements
p
pardom
09/28/2015, 2:00 PM
@arthur
: for example:
0..list.size()
will iterate once more than you’d like. To fix this you’d write
0..list.size() - 1
, but that’s ugly. Instead, now you ca do
0 until list.size()
.
Open in Slack
Previous
Next