05-29-2011 06:33 AM
@WouterG wrote:Or in other words I was expecting it would just combine A and the default boolean value from B which results in B.
That is a reasonable expectation, but it's now how LV works. Maybe one day LV will include a function which can do this, but for now it doesn't. I'm assuming that the solution you chose (which is known as composition) is good for you, but that depends on your exact application.
05-29-2011 03:40 PM - edited 05-29-2011 03:42 PM
Yes it is fine as well but I rather wanted to inherted solution because it would save me some get/set methods :D. Maybe maybe, I don't know, how I have it now is even better because casting everytime will maybe cause overhead when I'm doing it a lot of times.