On 01.05.2018 19:27, Daniel Sun wrote:
Hi Jochen,
Supporting Java-like array is to copy & paste code in Java easily,
e.g. experiment Java code in groovy console :-)
I really don't think Groovy has to support everything from Java.
I agree. If we could improve the compatibility between Groovy and
Java, it would be good for groovy users as most of them are Java developers.
Your opinion is ?(+1 \ 0 \ -1) ;-)
of course copy & paste makes it easier for Java developers, but still I
think we do not have to support everything. For me there is only one
good reason to support array syntax as in Java, and that is for annotations.
bye Jochen