Code Generation on the JVM: Writing Code that Writes Code
Recorded at:
Black magic
by
Veggen Skrikk
You know how .Net has partial classes? Well, there's a reason Java doesn't have that. Splitting the same class into multiple files is ewwww.
Groovy, on the other hand, is mostly cool.
P.S.
You make that "tsk" sound way too often close to the mic, so it's sort of annoying.
Double checked locking
by
Veggen Skrikk
Here's why: www.javacodegeeks.com/2011/03/dreaded-double-ch...
Re: Black magic
by
Steve Thompson
You know how .Net has partial classes? Well, there's a reason Java doesn't have that. Splitting the same class into multiple files is ewwww.
'Ewwww' meaning what, exactly?
As someone who has been creating tools that generate .Net source code, partials are a tremendously useful feature, as the language designers anticipated. The fact that they don't exist in Java makes it much more difficult for me to add the same value in that language. I think it is a real shame that people still limit their way of thinking about the feature set that a modern language should have to a language (Java in this case) that has barely changed in the last half decade or more.




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think