[erlang-questions] If you could rename ports, what would you call them?

黃耀賢 (Yau-Hsien Huang) g9414002.pccu.edu.tw@REDACTED
Tue Oct 5 07:08:24 CEST 2010


Hi,

Channel?
Tunnel?
Or
ship?

cheers,
--- Yh.H.


On Tue, Oct 5, 2010 at 12:45 PM, Tony Arcieri <tony.arcieri@REDACTED>wrote:

> I'm working on Reia, a Ruby-like language for the Erlang VM. Reia is an
> everything-is-an-object language, and the Erlang core types are all wrapped
> as objects.
>
> As part of this process I've wrapped ports. However, in my opinion port is
> a
> confusing name, particularly when dealing with a TCP port (in the Erlang
> sense) which represents a connection to a particular TCP port (in the TCP
> sense).
>
> Because of this sort of ambiguity, I'd like to rename ports. But what's a
> good replacement name? Some of the ones I've considered: SysPort, IOPort,
> Channel.
>
> What would you call ports if you had the opportunity to rename them?
>
> --
> Tony Arcieri
> Medioh! A Kudelski Brand
>


More information about the erlang-questions mailing list