From: Matthew Flatt (mflatt at cs.utah.edu) Date: Tue Apr 8 17:10:49 EDT 2008 |
|
At Tue, 8 Apr 2008 18:38:02 +0100, Dave Gurnell wrote: > [...] but that makes me wonder... is there > any downside to making structs serializable? Not much, assuming that the constructor and all the selectors are exported anyway. If the constructor or any selector is hidden, then serialization grants new capabilities. Otherwise, the only drawback I see is that extra code is generated to support serialization. Matthew
Posted on the users mailing list. |
|