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

Why do you want that if there is no state involved?


I wasn't referring to a pure functional context. I was thinking of a context where you have functions and procedures but no objects.


You can still have modules, for example. They're a way of grouping functions and types.


Exactly. These functions are stateless and thus calling the functions ultimately doesn’t really do anything.




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

Search: