C
cutthecrap
I was wondering how many other programmers have discovered an under
publicised feature of inner classes that makes them generically more
powerful than simple Delegates?
This is that using the "final" keyword for any parameters and variables
declared in a method allows any inner classes read-only access to those
variables in their method overides.
Checkout my original paper at:
http://www.cutthecrap.biz/software/delegates.html
For more details.
Any comments?
publicised feature of inner classes that makes them generically more
powerful than simple Delegates?
This is that using the "final" keyword for any parameters and variables
declared in a method allows any inner classes read-only access to those
variables in their method overides.
Checkout my original paper at:
http://www.cutthecrap.biz/software/delegates.html
For more details.
Any comments?