Elixir enables stateful web applications, is it wrong to think like this?

I think we need to tread carefully here. While I’m all for “hiding details” in order to avoid coupling, I also like BIG RED FLAGS when the semantics change - and the semantics of a process function call and a message dispatch are different. Otherwise we slide back into the realm of oversimplification and convenience of correctness.

That’s why I always feel a bit queasy when I see message handling buried inside something that looks like a simple process function call.

3 Likes