In Rails,
j = points.size -1
is not equal to
j = points.size - 1
Wouldn’t it be easier if Parentheses were mandatory, so that we could see the difference between:
j = points.size -1
and
j = points.size(-1)
In Rails,
j = points.size -1
is not equal to
j = points.size - 1
Wouldn’t it be easier if Parentheses were mandatory, so that we could see the difference between:
j = points.size -1
and
j = points.size(-1)
by
Tags:
Leave a Reply