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

After all the amount of money lost to off-by-one errors (millions? billions? who knows) I have to completely disagree with this. It's workable in C with its pointer arithmetic and other low level bit twiddling but this has no business in a higher level language. I realized how much unnecessary pain I had been suffering the first time I saw the for(;;) loop equivalent in Smalltalk:

1 to: 5 do: [ " ... " ]



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

Search: