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

I've always hated calling these "lambdas" or even "serverless" as a whole. They are not pure and they absolutely run on servers.

Now, of course not all lambdas must be pure... but as a whole, for the entire concept to be called "lambdas" and have the entire link just be it runs a single function seems weak. Like what about the `main` function? It's just co-opting the term lambda to sell PaaS.

What they are is an attempt at making a more basic environment to program around. They are essentially operating systems, no?

Anyway, sorry for the early morning rant on this.



By definition anything that communicates with a db is not pure. So kinda useless term for endpoint handlers.


A function doesn't need to be impure to communicate with a db. It can describe the actions without executing them, returning the actions to let some other impure process execute the effects.


The function itself hardly communicates with the db then, does it? In your example it's the impure process that does all the actual communicating.


That's kinda my point.




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

Search: