D
Domenico De Felice
Dale said:Sorry for the misunderstanding.
I like the "local" and "share" directives. That would make it clear.
Using too many special characters clutter the code and worsen
readability.
Yes, something like
{ |a, b|
local a
share b
a = 1
b = 2
}
would look less weird. However it has the problem that in bigger blocks
the programmer would need to read back the top of the block when he
'forgets' which attributes are local and which shared.
Anyway both solutions seem quite good to me