But now I’m at what’s looking like another hard part for me in Python (and for lots of folks if my Twitter feed is to be believed) : object-oriented programming.
Da da dunnn.
Oh, OOP. I still don’t quite get you. Okay, your terms make sense. But putting everything together? Pfffft. We’ll see how I feel about you in a few weeks.
3 replies on “OOP”
CLASS as a blueprint or design specification TEMPLATE. (e.g. house blueprint template). Or, think “character sheet FORM..”
PROPERTIES as characteristics/descriptors (e.g. the template for all house blueprints may have values that specify the the dimensions of the walls). Or think, “character description fields”.
FUNCTIONS as a detailed description of the processes or actions the object (i.e. the house) is capable of having or doing (e.g. house’s doors can open, close, lock and unlock.)
INSTANCE as an actual product or object that has been built based on the blueprint, its characteristics and processes. (e.g. an actual house).
Does that help?
@justscribbling Ahh, this helps! I get the basic terms well enough, but when it comes to putting them together… pffffft. And of course my best idea is to do OOP in another language to get it. Ha!
(Also, I suck at comment replies. Oops!)
Love the list! Something to think about as I prepare for my first ever NaNo. One of my favorite food prep is to find a bunch of meals that you can prepare – and freeze – for the crock pot. I spend four or five hours in the kitchen chopping, dividing and conquering and come away with about 15 or 20 meals in ziplock freezer bags to toss in the freezer. Then into the crock pot they go as needed! Good luck!