2 ms·
> This is my current plan, though it does make interop with Erlang/OTP somewhat more tricky. I have always wondered just how common it is in Erlang/Elixir to j
by YorickPeterse 7y ago
> This is my current plan, though it does make interop with Erlang/OTP somewhat more tricky.
I have always wondered just how common it is in Erlang/Elixir to just fabricate a PID out of thin air and start sending messages to it. My gut feeling is that this is quite rare, but then again I'm not an Erlang user.
If you want to rubberduck about anything related to this, feel free to send me a message/Email/Tweet/etc :)
- lpil 7y agoCreating the PID data structure is rare however it's common to give names to processes and then throughout the rest of the program make the assumption that there a process behind the given name that will handle the messages you are sending. I think we'll have to avoid this practice altogether.