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

Because it's like using a while loop to print out each character in a string when you can just do print to print the entire string.

I don't want to worry about external methods modifying state, I don't want to deal with constructors, I don't want to deal with instantiating state or modifying state before I call my function.

My function just takes a state and returns a new state. Simple.



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

Search: