by always setting the namejoband age attributeseven though the latter can be omitted when an object is made togetherthe class' methods and instance attributes create packagewhich combines both data and logic we could further extend this code by adding logic to compute salariesparse namesand so on ultimatelywe might link the class into larger hierarchy to inherit and customize an existing set of methods via the automatic attribute search of classesor perhaps even store instances of the class in file with python object pickling to make them persistent in factwe will--in the next we'll expand on this analogy between classes and records with more realistic running example that demonstrates class basics in action to be fair to other toolsin this formthe two class construction calls above more closely resemble dictionaries made all at oncebut still seem less cluttered and provide extra processing methods in factthe class' construction calls more closely resemble ' named tuples--which makes sensegiven that named tuples really are classes with extra logic to map attributes to tuple offsetsrec dict(name='bob'age= jobs=['dev''mgr']dictionaries rec {'name''bob''age' 'jobs'['dev''mgr']rec rec('bob' ['dev''mgr']named tuples in the endalthough types like dictionaries and tuples are flexibleclasses allow us to add behavior to objects in ways that built-in types and simple functions do not directly support although we can store functions in dictionariestoousing them to process implied instances is nowhere near as natural and structured as it is in classes to see this more clearlylet' move ahead to the next summary this introduced the basics of coding classes in python we studied the syntax of the class statementand we saw how to use it to build up class inheritance tree we also studied how python automatically fills in the first argument in method functionshow attributes are attached to objects in class tree by simple assignmentand how specially named operator overloading methods intercept and implement built-in operations for our instances ( expressions and printingnow that we've learned all about the mechanics of coding classes in pythonthe next turns to larger and more realistic example that ties together much of what we've learned about oop so farand introduces some new topics after thatwe'll continue our look at class codingtaking second pass over the model to fill in some of the details that were omitted here to keep things simple firstthoughlet' work through quiz to review the basics we've covered so far class coding basics