T
Tony Johansson
Hello!
Here is some text from a book that I'm reading.
"Typically, when you serialize an object, the destination does not matter.
In some circumstances, however, you might want to serialize and deserialize
an object differently depending on the destination. For example, you should
typically not serialize members that contain information about the current
process, because that information might be invalid when the object is
deserialized. However, that information would be useful if the object is
going to be deserialized by the same process. Alternatively, if the object
is useful only if deserialized by the same process, you might choose to
throw an exception if you knew the destination was a different process."
First the text says this which sounds correct and understandable (*For
example, you should typically not serialize members that contain information
about the current process, because that information might be invalid when
the object is deserialized.*)
Then some rows below the text says something that I don't understand
(*However, that information would be useful if the object is going to be
deserialized by the same process.*)
//Tony
Here is some text from a book that I'm reading.
"Typically, when you serialize an object, the destination does not matter.
In some circumstances, however, you might want to serialize and deserialize
an object differently depending on the destination. For example, you should
typically not serialize members that contain information about the current
process, because that information might be invalid when the object is
deserialized. However, that information would be useful if the object is
going to be deserialized by the same process. Alternatively, if the object
is useful only if deserialized by the same process, you might choose to
throw an exception if you knew the destination was a different process."
First the text says this which sounds correct and understandable (*For
example, you should typically not serialize members that contain information
about the current process, because that information might be invalid when
the object is deserialized.*)
Then some rows below the text says something that I don't understand
(*However, that information would be useful if the object is going to be
deserialized by the same process.*)
//Tony