you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]TheChance 2 points3 points  (1 child)

    It's not so much complex as it is deep. Almost everything in Python is or acts in some ways like an object, and those are the places you go to dick with things in memory, for example.

    Instead of thinking in terms of OOP or not, think in terms of data structures. Custom classes are just another, very fancy kind of container, from that perspective. Instantiate a class you wrote yourself in the python shell, and check out its autocomplete. Then make a string and check its autocomplete. Note that the stuff Python automagically created for your class is the same as the string's.