I'm working on a class for a group of Java dev colleagues that want to learn more about Groovy, which I know well enough to do work in it, but not at an academic level.
I want to start with "All java is Groovy" to assuage the inevitable "change of language" anxiety, but these being developers, will go out of their way to find an edge case where this is not true. I was hoping to head them off at the pass and point these out ahead of time, but I couldn't think of any.
Not all Java is Groovy (sorry to burst your bubble) ;-)
Apart from the differences described in the documentation , there are a few others:
{}
vs []
do..while
blocks don't exist in Groovy Plus there's probably a few others
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.