From: Alex Combas Date: 2006-01-26T19:25:51+09:00 Subject: Class is object? :very_sleepy Was just thinking today, earlier, but at the moment I'm not reallly thinking, I'm mostly asleep right now, so probably shouldnt be writing, let alone typing, and especially not with this much Nightquil chugging though me.. BUT OK!! TITLE: Class are objects!?! Here is my question: Does having class variables (@@) and class methods (MyClass.foo) destroy the whole OO design concept? I've always thought of classes like blueprints, and objects like, well, objects made from the blueprints. So thinking of classes as objects themselves that have :attributes, @@variables, and def methods kind of wrecks my "blueprint" metaphore. I know I'm wrong, I probably should have wrote that at the top in big green letters. I just want to throw this out and see just how many ways I can be proven wrong so that I can learn and maybe one of the ways will stick like a wet noodle on the wall of my brain for long enough that I dont have to ask this question again next week. What I would really like is a better metaphore for class! Thanks! -- Alex Combas http://noodlejunkie.blogspot.com/