The behaviour of clone has also change; instead of passing the whole instance to the constructor, it only passes the attributes. Could be worth noting for people who are upgrading (I hit an error because of that) :).…
But if you're wiring together several views dependent on the selected state, this type of code can lead to spaghetti and tight coupling between views.
Yup, can simplify code for wiring together views a great deal and promote decoupling between them.
The behaviour of clone has also change; instead of passing the whole instance to the constructor, it only passes the attributes. Could be worth noting for people who are upgrading (I hit an error because of that) :).…
But if you're wiring together several views dependent on the selected state, this type of code can lead to spaghetti and tight coupling between views.
Yup, can simplify code for wiring together views a great deal and promote decoupling between them.