Re: Support for non-unique process labels?

"Michael P." <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <20210519162430.36a4b93c@aesop>
On Fri, 07 May 2021 10:42:36 +0200
Nicolas Martyanoff <[email protected]> wrote:

> > * register processes using any term and not just atoms

> I always wondered why there was such a limitation. Supervisors can use
> any term as child identifiers.

Is a registered name not like an office ID?
When the worker in there dies, they do not take
the office with them, nor does a new worker
bring a new office.
Is it not a certain position in ones application
structure, like an office in a building,
not the worker there?

What use is a globally registered name (atom or not),
that no-one knows of, apart from who- or whatever
created and registered that process?

Is this not about approaching s/th like an object request
brokery thingy, rather than about displaying,
say ?MODULE:?FUNCTION of a process,
in Observer and error messages?

~M

--

Curiosity killed the cat --
by simply using up its time.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.