[erlang-questions] Allowed node names

Anders Nygren <>
Tue Jun 3 17:02:31 CEST 2008


2008/6/3 Edwin Fine <>:
> Gosh, Vlad, how can you say it is not documented? I mean, it clearly states
> in the comments to the Erlang C source code in erts/emulator/beam/dist.c
> that
>
> **
> ** n must be a valid node name: string of ([a-z][A-Z][0-9]_-)+
> **
>
> It only took me 20 minutes to track this down. Don't you know, Real
> Programmers Don't Need No Steenking Documentation, They Just Read The Code

Oh, come on, every Really Real Programmer(tm) knows that You can't
trust the comments.
Only a noob would believe the lies that are in the comments.

/Anders :)

> ;-)
>
> (Disclaimer: In case anyone inadvertently takes this rant literally and gets
> ticked off, it was written with heavy irony and tongue firmly in cheek).
>
>
> 2008/6/3 Vlad Dumitrescu <>:
>>
>> Hi,
>>
>> I couldn't find any documentation regarding which node names are allowed,
>> so I had to trace it down in the emulator code.
>>
>> Node names must conform to the following regexp: [a-zA-Z0-9_-]+
>>
>> Maybe it should be added to the docs.
>> regards,
>> Vlad
>>
>> --
>> .......__o
>> .......\<,
>> ....( )/ ( )...
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list