div0: > scope x = new A("x"); > y = new A("y"); > x = y;
In my opinion it's better to not reassign references of scoped objects. In real programs where possible it's better to write boring and stupid code :-) Bye, bearophile
div0: > scope x = new A("x"); > y = new A("y"); > x = y;
In my opinion it's better to not reassign references of scoped objects. In real programs where possible it's better to write boring and stupid code :-) Bye, bearophile