[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]

>languages that enforce OOP

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: 11
Thread images: 2

File: Java-C.jpg (8KB, 240x140px) Image search: [Google]
Java-C.jpg
8KB, 240x140px
>languages that enforce OOP
>>
>>61378433

OOP is good.

Deep inheriting structures are bad.

Composition > Inheritance.
>>
>>61378781

> t. Vadjra Krishna Pajeet
>>
>>61378433
public static void Method(){

}


>>61378455
>>61378781
Depends on the project. OOP is like any other tool. Good for some things, not so good for others.
>>
Anybody ever /uml/ in here?
>>
File: 475-large-carving-axe.jpg (976KB, 2000x1425px) Image search: [Google]
475-large-carving-axe.jpg
976KB, 2000x1425px
>tools that have sharp edges
>>
>no smalltalk
>>
>>61378433
>brainlets confused by OOP
>>
>>61378433
Daily reminder that the functional programming meme will die once we figure out how to reinstate Moore's law. Multi-core processors are fucking stupid.
>>
>>61379742
> says increasingly nervous man
>>
>>61378455
Slowly even mainstream language designers are coming to realize that SML was way ahead of its time.

OOP provides nothing besides inheritance. Every other feature is done better in other paradigms and even inheritance is deeply questionable in almost all cases since typeclasses/protocols/multimethods provide better and safer access to polymorphism. Inheritance also complicates features that are much more important like full type inference (impossible with classical OOP subtyping) and generics (variance issues are a nightmare).
Thread posts: 11
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.