|
Welcome
What is Groovy++
Featured What is Groovy++?Groovy++ is a statically typed extension to the Groovy programming language. Groovy++ provides high performance and compile time type checking for compiled code. Beyond all the goodies of standard Groovy, this project adds a lot of functionality
Hello, World!Here is simple "Hello, World" application with Groovy++. The call to the String.toLowerCase method is statically resolved by the compiler @Typed package mypackage
["Hello, ", "World!"].each {
print it.toLowerCase ()
}
println ()Curious about the @Typed annotation above? Read how does it work Why Groovy++?Read this interview with Alex Tkachman, creator of Groovy++, to learn more about the goals and ideas behind the project | |
► Sign in to add a comment
Is there any plan to merge Groovy++ into Groovy? If not, what is the long term plan?
with groovy 1.8 and 1.9 performance improvements will this extra step still matter that much
most of the time we want the terse dynamicness of Groovy anyways
I like the strictness which Java imposes, but I hate the ubiquitous redundant verboseness. G++ is a solution for that kinda programming approach. With Groovy in essence being an alternative to Java having its benefits and weak spots in that sense, G++ looks more like an evolution of Java. G++ tries to solve several weaknesses of Groovy's step away from Java keeping the sacrifice of benefits to a minimum.