Hacker News new | past | comments | ask | show | jobs | submit login

similarly, the 'approaches' pseudo-operator:

while (i --> 0) { /* do something */ }




For some variety, there's also the left-handed "goes to" operator.

    while (5 <-- x) {} //omits the zero
and the much easier to type

    while (x --- 0) {} //equivalent to the "-->" operator




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: