4 ms·
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
by nixpulvis 2y ago
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.
- papichulo2023 2y agoBy definition anything that communicates with a db is not pure. So kinda useless term for endpoint handlers.
- jy14898 2y agoA 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.
- WJW 2y agoThe function itself hardly communicates with the db then, does it? In your example it's the impure process that does all the actual communicating.
- nixpulvis 2y agoThat's kinda my point.