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

Maybe I've misunderstood what OP was getting at--can you elaborate on the distinction between these two meanings of statelessness?


In a stateless service in the OO sense, it is perfectly fine to GET something, and then GET something different the next time you run the same request. (Probably because someone POSTed between your two GETs.) Because of mutable state.

FP statelessness means no mutable state, so two identical GETs will of course return the same result.




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

Search: