3 ms·
Is that why I see much object serialization/deserialization in Java? They're trying to pass data between layers of middleware, but Java has very strict typing,
by Sohcahtoa82 3y ago
Is that why I see much object serialization/deserialization in Java?
They're trying to pass data between layers of middleware, but Java has very strict typing, and the middleware doesn't know what kind of object it will get, so it has to do tons of type introspection and reflection to do anything with the data?
- acdha 3y agoThere are multiple causes but a lot of the nastiest code I’ve seen did suggest “I don’t have time to update those other layers”, along with the very common misperception that you’re working on a huge shared service for the ages and need everything to be as generic and customizable as possible.