Let me clarify some ideas that I spoke about in my last email.
I talked about extending exception and linearization from the perspective
of inheriting from a class without adding behavior or some extra
attributes, because the code you provided was doing that.
Reading the Alan response made me rea
Assignment and inheritance are not comparable at all
In the inheritance you are extending the base class (a) and in "a=b()" you
are instantiating it - you create an object according to the blueprint that
you difining.
To understand the difference.
Inheritance:
Say you defined a costume type (a cla
On 01/09/16 04:18, kay Cee wrote:
> Class a():
> def__init__(self, var):
> pass
>
> Class b(a):
> def__init__(self):
> super().__init__(self, var)
> pass
> Is it better to do
>
> b = a()
>
> Instead of making b its own class?
> Also, what would be the ben