for me that is a feature likely to go. If you define a dynamic ctor, it
should return an object of at least the type that the ctor is for. I do
not care about subclasses or such, but I don't like Date result = new
Date() to fail.
On 25.08.2017 04:28, Paul King wrote:
I've only seen it used i
On 23.08.2017 00:52, MG wrote:
Hi Paul,
On 21.08.2017 04:30, Paul King wrote:
Introduce a "var" (o.s.) keyword that allows deduction of type
through assignment:
var device = new PrinterDevice(...) // device variable will have
type PrinterDevice without the need to explictely
On 23.08.2017 00:32, MG wrote:
[...]
Apart from making the code easier to
read & safer, it also allows compiler optimizations (and in the absence
of a true const-keyword, at least for fundamental data types it has the
same effect).
Something I want to mention here: The Groovy compiler current