What is Object Oriented Programming?
Everyone seems to be aware of what it means, but few people can articulate it.
Sexism since everything, including women, are objects
Its means do solid programming and not liquid or gazeus coding. Gazeus coding is so 1980s
Imagine a creature with for legs and no other features and let that be our blueprint or class. Now let's make 2 more creatures from that blue print. One I name cat the other dog. I give different attributes to cat and different to dog. The cat and the dog are both objects created from my initial blueprint. I didn't have to write a separate program for a dog and separate one for a cat , just used 1 class and give my objects different attributes to complete the program.
>>61360915type Quadruped struct {}
type Cat struct { Quadruped }
type Dog struct { Quadruped }
is Go object-oriented?
>>61361025
John Cinnamond dotGo2014
>>61358398
In principle, it is a method of program flow organization. More or less isolated entities exchange messages based on a contract. The identity of either side is unimportant as long as they can fulfill the rules of the contract. OOP languages provide elements that facilitate what's said above, though it can be done in normal languages like C as well. Look at the Win32 API as an example.