<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 9/5/13 10:04 AM, Cantor, Scott
wrote:
</div>
<blockquote
cite="mid:BA63CEAE152A7742B854C678D9491383BDE87DBE@CIO-KRC-D1MBX01.osuad.osu.edu"
type="cite">
<blockquote type="cite">
<pre wrap="">The other is that apparently Java Serializable is viewed by many as a
Bad Thing(tm). Chad was very opposed to implementing Serializable on
that basis as well. I was skeptical of this reason initially. However, I
saw Joshua Bloch (notable designer of many things in the Java platform
itself and respected software engineer) speak once at OSCON about
language/platform features that have been added to Java since the
initial language design; his opinion was that Serializable was the
single worst mistake they had made (up to and including Java 7 stuff).
</pre>
</blockquote>
<pre wrap="">
I defer to people with more experience on it. My issues with it have to do
with the complex issues around object versioning, which I don't really
understand very well, but those don't apply all that much to transitory
uses of serialization. It is why I don't like the idea of using binary
serialization for longer term needs.
But I am well aware that lots of people don't like Java Serialization, and
as a non-native to the language, I tend to take that seriously. I don't
find it compelling that lots of frameworks expect it, because people
writing frameworks are going to do what's easy for them.
</pre>
</blockquote>
<br>
Marvin commented off-list that he was interested enough in Bloch's
talk that he wanted to find it. Unfortunately the slides from the
actual OSCON 2011 talk "The Evolution of Java: Past, Present, and
Future" weren't posted, and it wasn't recorded.<br>
<br>
However, he did give the same talk apparently at the Devoxx
conference later that year. There is a nice recording of it here
[1], about an hour long, with slides side-by-side. Haven't seen
this site before, but it's cool that the talk is actually indexed
into chapters so you can just jump right to part you want. The
Serializable part starts at section marker 9:53.<br>
<br>
I also found a written summary [2]. The Serializable part states
the conclusion:<br>
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Conclusion: arguably the worst feature ever added. <font
color="red"><strong>Failure</strong></font></blockquote>
<strong></strong><br>
Interestingly, he also gives a Failure to generics and autoboxing.<br>
<br>
<br>
<br>
[1] <a class="moz-txt-link-freetext" href="http://parleys.com/play/514892290364bc17fc56c508">http://parleys.com/play/514892290364bc17fc56c508</a><br>
[2]
<a class="moz-txt-link-freetext" href="http://nosoftskills.com/2011/11/devoxx-2011-java-past-present-and-future/">http://nosoftskills.com/2011/11/devoxx-2011-java-past-present-and-future/</a><br>
<br>
</body>
</html>