Re: problem during calling method from closure

2020-10-15 Thread MG
Hi Anton, could you please point out to me the concepts you mention in a private email ? It still seems to me that what I said was right, see for instance: https://wiki.c2.com/?AlanKaysDefinitionOfObjectOriented Cheers, mg (Many of these topics are quite old, and things which are no big deal

Re: problem during calling method from closure

2020-10-15 Thread Anton Shepelev
MG about Alan Kay's "message passing": > It is not an approach per se, but just terminology. Lest I annoy the list administrators by continuing this off- topic disussion, I will confine my reply to the remark that Kay's concept of message passing is not mere terminology. It is also more that just

Re: Defining a global variable

2020-10-15 Thread MG
On 15/10/2020 18:27, Jochen Theodorou wrote: well.. even scripts are first compiled into a class before the class is then executed. Groovy has no interpreter Which, I think, is a lesser known fact, and quite surprising to people who perceive Groovy just under its "script language" aspect ;-)

Re: Defining a global variable

2020-10-15 Thread Jochen Theodorou
On 15.10.20 12:16, Anton Shepelev wrote: Jochen Theodorou to Anton Shepelev: Jochen Theodorou: Frankly... for years we have been defending this position, but now, with so much distance I actually really wonder why we keep this. Perhaps it would have helped if you had documented not only lan

Re: problem during calling method from closure

2020-10-15 Thread MG
On 15/10/2020 13:03, Anton Shepelev wrote: we definitely should have sticked with Alan Kay's "message-sending", and there would be much less misunderstandings and problems today. I fear this message-passing approach even further from normal proceudural prgramming that conventinal OO languages

Re: problem during calling method from closure

2020-10-15 Thread Anton Shepelev
OCsite: > As a matter of fact, you can. This darned Java "method- > calling" lingo is terribly misleading; It is not the Java lingo, but the standard and most intuitive teminology. > we definitely should have sticked with Alan Kay's > "message-sending", and there would be much less > misundersta

Re: Defining a global variable

2020-10-15 Thread Anton Shepelev
Jochen Theodorou to Anton Shepelev: > > Jochen Theodorou: > > > > > Frankly... for years we have been defending this > > > position, but now, with so much distance I actually > > > really wonder why we keep this. > > > > Perhaps it would have helped if you had documented not > > only language feat

Re: No signature of method: javax.swing.JMenu.setMnemonic()

2020-10-15 Thread Paolo Di Tommaso
Unfortunately no. Not sure how to address it because it seems a type conversion problem in the `MacOSXmenuBar` ``` menu(text: 'File', mnemonic: 'F') { menuItem(newFileAction, icon:null) menuItem(newWindowAction, icon:null) menuItem(openAction, icon:null) separat