On Tuesday, May 26, 2015 at 3:53:25 PM UTC-5, Michael Torrie wrote:
On 05/26/2015 08:57 AM, zipher wrote:
Comprende? I'm not trying to be cryptic here. This is a bit of OOP
theory to be discussed.
No, sorry. Maybe an actual example (with use case) would spur discussion.
In the first
Apart from object composition or mix-in style, I want to illustrate something
regarding the arrow of inheritance.
class super_dict(dict):
def __init__(self, init={}, default_value=0, collision_function=None):
*expands what dict can do*
def get_default(self): #stupid
On 05/26/2015 08:57 AM, zipher wrote:
Comprende? I'm not trying to be cryptic here. This is a bit of OOP
theory to be discussed.
No, sorry. Maybe an actual example (with use case) would spur discussion.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, May 26, 2015 at 2:52 PM, Michael Torrie torr...@gmail.com wrote:
On 05/26/2015 08:57 AM, zipher wrote:
Comprende? I'm not trying to be cryptic here. This is a bit of OOP
theory to be discussed.
No, sorry. Maybe an actual example (with use case) would spur discussion.
Better yet,
Still considering distinguishing between different types of inheritance.
Apart from object composition or mix-in style, I want to illustrate something
regarding the arrow of inheritance.
class super_dict(dict):
def __init__(self, init={}, default_value=0, collision_function=None):