Am 08.03.2018 um 09:44 schrieb mg:
@unless you reassign, you would not notice the difference between current def and the Java var: 1) If I don't need to reassign, I would use final instead of var :-)2) Supporting var for fields that get initialized during declaration, also would feel very Groovy to me, although I personally would not expect to use that a lot.
they decided against using final and instead go with semi-final. bye Jochen