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

"That's a valid concern. However, it is tempered by the fact that the functions are presented in the order they are called. Thus we can expect that the reader has already seen the main loop and understands that candidate increases by two each iteration."

I think this missed the point entirely. If i had to read the entire code to understand the behavior of that method, then is it really cleaner? Side-effects are evil



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

Search: