[Ns-bugs] [Bug 517] RandomVariable serialization is ugly

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Mar 3 12:40:27 PST 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=517


Mathieu Lacage <mathieu.lacage at sophia.inria.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathieu.lacage at sophia.inria.
                   |                            |fr




--- Comment #1 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr>  2009-03-03 15:40:27 EDT ---
The problem is that deserialization still needs a global function and it's much
easier to check for code correctness when the serialization function is close
to the deserialization function which is not the case if you move serialization
to a per-class method and leave deserialization to a global function.

So, yes, it's ugly but the alternatives don't look really any better.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list