If we ask really nicely, would you please vote? Pretty please? Login and vote now.
By ekabanov
via dow.ngra.de
Published: Mar 25 2008 / 10:53
Domain Specific Languages (DSLs) have been brought to Java under the name of Fluent Interface. However most of them utilize a lot of strings and untyped behavior to make the interface fluent enough. It turns out that using Java 5 and a bag of tricks we can have the compiler to check a lot more. In this post we'll check out how to write Java bytecode using ASM in a typesafe way.
Comments
daniel replied ago:
Most impressive!
Voters For This Link (13)
Voters Against This Link (0)