[Ns-developers] Random Variables API changes

Gustavo Carneiro gjcarneiro at gmail.com
Wed Jan 21 08:23:54 PST 2009

2009/1/21 Raj Bhattacharjea <raj.b at gatech.edu>

> On Wed, Jan 21, 2009 at 3:47 AM, Mathieu Lacage
> <mathieu.lacage at sophia.inria.fr> wrote:
> > To summarize:
> >  - the GetSingleValue implementation from ns-3-dev must go. period.
> >  - the cost of providing a new GetSingleValue implementation is
> > non-trivial and I would much rather see resources spent on polishing
> > raj's tree than doing this. Are we going to merge in 4 months ?
> >  - users of GetSingleValue can be converted fairly easily: just create
> > a static variable of your own if you must
> I am in agreement; I was providing an alternative that might have made
> Gustavo happy, but I hope that everyone is convinced by your argument
> against these kind of static APIs.

I must clarify I never objected the API change per se.  I was only objecting
the API change without understanding and documenting the reason behind the
API change and how to migrate old code.

Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert

More information about the Ns-developers mailing list