But you already use classes every day, all day long. Classes are general descriptions. Houses, Rooms, Cars, Tables, Clothes, Transportation, Reports, Appointments, etc are all classes. When I talk about cars pollute the air then you know what Im talking about. When I say Your car needs a wash then I talk about a specific object instance of the class Cars.
When you talk about dogs and cats then
- dogs is a class, Golden Retriever is a class, with Buddy being a specific object instance of it
- cats is a class, Siamese Cats is a class, Kitty is a specific object instance of it.
It is much easier and far less error prone to pass around objects that encapsulate properties
Wife.gets( Kitty )
than pass all the details, like
Wife.gets( name, head, tail, body, leg1, leg2, leg3, leg4, furcolour, )
By using an object you keep all the properties, methods, events etc together.