Sure, but for my taste i have to use this "trick" to often and makes things more complicated.
IMHO the setting of the Visiblity for an object should be a must.
And @klaus fixed the prob with setting the value so quick so that i would give the question a try