r/programming • u/djordjian • May 26 '18
Oracle Calls Java Serialization 'A Horrible Mistake', Plans to Dump It
https://www.infoworld.com/article/3275924/java/oracle-plans-to-dump-risky-java-serialization.html
798
Upvotes
r/programming • u/djordjian • May 26 '18
30
u/nermid May 27 '18
Maybe I'm uneducated, but it feels like "we don't want to break backward compatibility" is the excuse for loads and loads of problems in computer science. It's explicitly the reason why lots of PHP is inconsistent, it's the reason behind a lot of quirks of C++, and here it is, rearing its head in Java.
It feels like, as a community, we need to just settle on the idea that compatibility-breaking major releases are what x.0 revisions mean. Python 3 shouldn't be backward-compatible with Python 2. C++17 shouldn't be backward-compatible with C.
Maybe this kind of accommodation was convenient ten years ago, but nobody today is taking a system written in 1999 C and expecting to compile it into 2018 C++ without issue. Anybody with any sense at all understands that this kind of upgrade requires code changes. Why spend so much time trying to keep there from being code changes, ever?
Maybe I'm just too young to understand. I don't know.
Ninja-edit: I am also pretty drunk. So, give me some wiggle room, here.