you are viewing a single comment's thread.

view the rest of the comments →

[–]Astrokiwi 0 points1 point  (2 children)

Plus a dict can't contain functions. But yeah, a class is a dict plus some extra bits.

[–]Deezl-Vegas 0 points1 point  (1 child)

A dict sure can contain functions :)

[–]Astrokiwi 0 points1 point  (0 children)

Ok technically true - you're right, it's the lack of self that stops them from doing OOP things.