我们大量使用序列化,并且必须在我们使用的每个对象上指定可序列化的标记是一种负担。尤其是我们无法改变的第三方课堂。
The question is: since Serializable is an empty interface and Java provides robust serialization once you add implements Serializable
- why didn't they make everything serializable and that's it?
我错过了什么?