[Ns-developers] helper APIs, and planning for ns-3.1 release

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Fri Apr 4 08:39:08 PDT 2008


On Thu, 2008-04-03 at 22:05 -0700, Tom Henderson wrote:

> >> I find this much more intuitive.  In natural language, we Create four nodes.
> >> We Install CSMA devices in those nodes and return a container of the devices
> >> we installed.  We Install the internet stack in the nodes and we (loosely)
> >> Add ip addresses to the devices.
> > 
> > I am sure that this is really a matter of taste but 'Allocate' conveys
> > to me much better the purpose and meaning of what you call 'Add'.
> 
> Reinforcing that this naming is probably a matter of taste, I prefer 
> "Assign" to both Add and Allocate.  In my experience, Assign and 
> Allocate are verbs more often associated with IP addresses than Add.

Assign sounds ok. We use the verb Add for all our containers to append
something to them, so, it would be weird to overload that meaning with a
new one for this class.

Mathieu



More information about the Ns-developers mailing list