4 ms·
It's unfortunate that this article is based on some flawed assumptions, such as "Java provided a suberbly user-friendly way of serializing any object to disk an
by royjacobs 5y ago
It's unfortunate that this article is based on some flawed assumptions, such as "Java provided a suberbly user-friendly way of serializing any object to disk and recovering it back in its original form. The only unfortunate problem was that there was no way to say which object you are expecting!".
Java serialization is not what is used by web frameworks. They use JSON deserializing, typically using libraries like Jackson, which are of course fully strongly typed.
- thrower123 5y agoThat's a rather common failure to understand the relevant blub details that happens a lot when functional advocates draw up strawmen to denigrate mainstream boring languages.
- marcosdumay 5y agoJava serialization is not used anymore because it caused plenty of security issues at the beginning. That doesn't make the article any wrong or misleading.
- royjacobs 5y agoIt seems rather disingenuous to talk about severely outdated features without mentioning the fact that said practices are multiple decades out of date. Let me put it another way, it doesn't strike me as the best possible example to use.
- marcosdumay 5y ago> A similar issue has occurred with Java This is clearly on the past, as an example that once existed. > Java provided ... there was no way If anything, that text in misleading people into believing that Java doesn't do it anymore, instead of just nobody using it.