S
Sanjay
Class PersonBO(Person):
Yes, it should be as you mentioned. However, I had posted it to
elaborate the case. Actually, I tested using the following code:
class PersonBO(Person):
pass
For the time being, I am not separating the plumbing and business
logic. When I need to, I shall come back to this post, study all the
ideas suggested, and jot down the pattern suitable to me. The code
pattern using metaclass looked interesting to me.
Thanks
Sanjay
<OT>
shouldn't it be:
class PersonBO(Person):
def block(self):
self.blocked = True
</OT>
Yes, it should be as you mentioned. However, I had posted it to
elaborate the case. Actually, I tested using the following code:
class PersonBO(Person):
pass
Care to explain your solution ?
For the time being, I am not separating the plumbing and business
logic. When I need to, I shall come back to this post, study all the
ideas suggested, and jot down the pattern suitable to me. The code
pattern using metaclass looked interesting to me.
Thanks
Sanjay