Sponsored Link •
A Weblog by Bruce Eckel
B. Scott Andersen
Vladimir Ritz Bossicard
James O. Coplien
Cees de Groot
David Heinemeier Hansson
Jakob Eg Larsen
Robert C. Martin
John D. Mitchell
Eric S. Raymond
Guido van van Rossum
Richard Hale Shaw
January 26, 2006, 43 comments
My previous posting about Ruby generated a lot of noise and very little light -- that is, not much in the way of compelling reasons to learn the language. So I went to a couple of Seattle.rb Ruby users group meetings and spent time with 3 uber-geeks. Now I at least have the beginning of an understanding of what's interesting about this language.
January 6, 2006, 8 comments
Mike Levin has posted a new podcast interview with me, recorded 1/4/06.
December 18, 2005, 262 comments
The Java hyper-enthusiasts have left the building, leaving a significant contingent of Java programmers behind, blinking in the bright lights without the constant drumbeat of boosterism.
November 11, 2005, 28 comments
There's one rather mind-bending idiom that appears periodically in Java generics. Here's what it looks like: class SelfBounded<T extends SelfBounded<T>>
November 10, 2005, 14 comments
There appear to be some strange side effects on packages when using generics.
November 9, 2005, 7 comments
I'm hoping this is an obvious one and that my brain is just fried from over-generification.
November 8, 2005, 17 comments
I came across another generic puzzle and hope that someone has some insights.
November 7, 2005, 9 comments
I set out to explore how the compiler treats a plain List vs. a List<?>, and in the process found something mysterious.
October 26, 2005, 39 comments
I need to use the collective-consciousness of the Artima community, like genetic algorithms, to come up with a set of canonical use cases for generics.
October 24, 2005, 10 comments
I was poking around in the Standard Java Libraries looking for examples of generic code, and came across something curious.
October 22, 2005, 16 comments
Up until now, whenever I've tried open-source Word clones with my books, they've collapsed to the floor, babbling and drooling.
October 21, 2005, 8 comments
In my posting "Mixins: Something Else You Can't Do With Java Generics?", someone suggested (incorrectly) that this was just the C++ "Curiously Recurring Template Pattern." The analog of the CRTP does work in Java, but is it good for anything?
October 20, 2005, 16 comments
Someone pointed out that Josh Bloch suggests using interfaces to produce the effects of mixins; this is a common pointer when justifying the lack of multiple inheritance in Java. I've translated yesterday's C++ mixin example based on this idea.
October 19, 2005, 27 comments
The paper "A First-Class Approach to Genericity" introduces the idea of the mixin, which seems to be quite a powerful concept, and then shows that you can't do it with Java generics. I wonder if anyone has any alternative approaches to this problem.
October 14, 2005, 8 comments
The Concurrency chapter is finished (hurray!), and now I re-wade into the mysteries of Java Generics. The chapter isn't looking as bad as I was remembering, but there are still some issues that I'm struggling to understand and explain.