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 language features but also their rationale
(justification), at least is difficult, debatable cases.

the reason is easy: it reflects the implementation. But
the implementation can be changed

The implementation reflects the implementation? I do not
understand.

specification by implementation I mean

[...]
Whereas methods are also code, I believe it would be much
clearer if it said "immediate code" -- code that is executed
immediately rather than compiled into a callable method.

well.. even scripts are first compiled into a class before the class is
then executed. Groovy has no interpreter

[...]
I am not sure, but we both failed to find that paragraph
until Maarten pointed it out. But now that I think about it
again, it is the right place.

I was searching for something different. A more high-level description
of variable scopes and how they work instead of describing the specific
case of a script with the common base class.

bye Jochen


Reply via email to