groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frenchy48 <>
Subject Re: changing dynamically the name of classes in a source code
Date Mon, 28 Mar 2016 07:42:50 GMT
Ok  students will learn more english later ... but please!
(for instance have a look at Scratch or read this:

Now subclassing does not work:
my course is using a subset of groovy (my goal is to teach programming not
full Groovy)
one of my main message in my course is to have  variables with a type!
so "def x" is not encouraged (not even taught)!
now if you have a factory that returns the proper class and you assign it to
a variable typed with a subclass it won't work.

member of Grumpy Old Programmers
View this message in context:
Sent from the Groovy Users mailing list archive at

View raw message