Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is also typically written in algorithms like:

  N = rows(data)
  for i in 1:N
    blah
So even though 1:0 may seem not unnatural, it actually reads perfectly in most code.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: