[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

What is Object Oriented Programming? Everyone seems to be aware

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 7
Thread images: 2

File: javascript.png (579KB, 854x853px) Image search: [Google]
javascript.png
579KB, 854x853px
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.
>>
File: 1438734500775.png (175KB, 800x850px) Image search: [Google]
1438734500775.png
175KB, 800x850px
>>61360915
type 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.
Thread posts: 7
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.