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

By the way "declarative" doesn't really mean anything with very specific boundaries.

Would've been that better if you had some `increment(state)` that updated a ref anyway?



No, it's has the same semantic. Method can return the whole new state, the changed fields or actions to be taken. Or method can call the passed continuation with changed values instead of return.




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

Search: