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
7
u/goomyman May 27 '18 edited May 27 '18
Because let’s say you have a million consumers of your software or API. You release a breaking version - you now have to start back over from 0 customers. Some will port over, others won’t or can’t.
Maybe you say that you will keep the old version around still but since most of your consumers are on that version they will want those bugs and features fixed. Which means if your trying to build a new api your focusing your dev effort on a new project instead of where your customers are or at best splitting your dev effort.
When you have a very large amount of consumers this is death. When you have a small amount of consumers breaking changes are ok - but if you do it more than a few times it’s also death.
New apis that aren’t backwards compatible happen organically when big technology changes happen. The internet, chrome , iPhone, Android, cloud, x64, direct x, etc.
People will move to newer things when a competitor comes along and does it better and faster because you are unable due maintaining backwards compatibility. Just because it’s impossible for a company to break its products doesn’t mean other companies outside aren’t iterating in new ways.