Hacker News new | past | comments | ask | show | jobs | submit login

On the contrary, that is exactly what those patterns are for, indeed it's the only legitimate justification for using them! If you can make your functions simple and stateless without using "fancy" patterns you should do so. The point of things like monads is to make it possible to do that with functions that do otherwise effectful things.



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

Search: