Hi Jochen,

we do not use any of these Groovy features - why is that information relevant to you ? If you are gauging if you can remove some potentially unused features from Groovy, it might be best to state so - nothing to get people to take the time to reply, than to tell them an important feature of their language might be cut (or trimmed)... ;-)

Cheers,
mg


On 08/01/2024 16:10, Jochen Theodorou wrote:
Hi all,

I would like to know from users on this list mostly if they are using
specific features of the meta class system and MOP, but especially what for.


(1) categories

https://blog.mrhaki.com/2009/09/groovy-goodness-use-categories-to-add.html
shows an example. Basically you have

use (CategoryClass) {
  // some code and callstack here influenced by CategoryClass
}

I am especially interested in knowing if you try to add a method to code
that is not part if the use-block here.


(2) per instance meta classes

https://groovy-lang.org/metaprogramming.html#_per_instance_metaclass
shows examples here

Anyone using that?

(3) Custom meta class

Anyway trying to force the usage of something else then MetaClassImpl
for the meta class? If you do not understand the question at all, then
the answer would be no.


bye Jochen

Reply via email to