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

Is inheritance a bad thing? Should I use composition instead?

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: 24
Thread images: 1

File: sz00f682.jpg (293KB, 713x1000px) Image search: [Google]
sz00f682.jpg
293KB, 713x1000px
Is inheritance a bad thing? Should I use composition instead?
>>
You should use Haskell instead
>>
>>56260935
well meme'd
>>
>>56261038
Fuck off. OOP has set this industry back 20 years by being inherently anti-modular and anti-parallel.
>>
>>56260918
Composition and mixins should be the general use case with inheritance trees used only when makes sense to have one.
>>
OOP is a shitty outdated meme just like Marxism
>>
>>56261054

>What are design patterns?

Take your functional esoterism elsewhere, you basement dweller.

>>56261394

OOP is industry standard. Stay rectally shattered.
>>
>>56261394
>le marxism is bad meemee
I hate OOP, but capitalism needs to go tbfam h.
>>
>>56262171

This. Capitalism is the only reason object-orientation is still a thing.
>>
>>56262069
You obviously don't understand design patterns if you think of them as best practices
>>
>>56262171
>I'm an edgy 12-year-old
>>
>>56262171
Good goy.
>>
>>56262171
But equality is bullshit. Some are worth more than others. The only people who disagree are the ones who are worth less.
>>
>>56262171
>le marxism is the only alternative meemee
kike memes need to stop
>>
>>56262316
Edgy 12-yos these days are lolbertardians, famiglia.

>>56262318
The jewspiracies meme stopped being funny a couple of years ago. You can stop now.

>>56262319
Actually, the ones pushing for more equality are the absolute elites like big corporations, intellectuals, religious leaders and magnates like George Soros.

>>56262330
Name one alternative that isn't a variation of the aforementioned.
>>
>>56262351
Proudhon's socialism not only predated Marxism but was quite opposed to Marx.
>>
>>56262351
>Actually, the ones pushing for more equality are the absolute elites like big corporations, intellectuals, religious leaders and magnates like George Soros.

I know. That should tell you who the good guys are.
>>
>>56262374

"The System of Economic Contradictions" basically describes some sort of socialist anarchism. Mutualism is basically a form of anarcho-collectivism.

>>56262396

But wait, you just told me I should follow successful people. So what's it gonna be?

Also, how can you possibly claim that people like Soros and Gates are bad and at the same time defend that capitalism rewards excellence?
>>
>>56262396

No, that should tell you who the stupid people are. I.e. 99% of the population. Which explains the upcoming American elections and it's candidates quite nicely.
>>
>>56262306

>MV* isn't best practice

I hope you were just pretending to be retarded.
>>
>>56262171
>But equality is bullshit. Some are worth more than others. The only people who disagree are the ones who are worth less.
You misunderstand the concept of equality. Nobody is saying that runners ought to be white, rather people are saying that cinsideration should be given to the individual, rather than groups. This avoids unfairly excluding people who are up to the task and it also avoids including people for the fact of belonging to a group.
This is why we have standardised testing rather than just assuming only East Asians are good at math.
>>
>>56263885
>This is why we have standardised testing
>ised
>s
This explains everything.
>>
I like Karl Marx. I think he is a very important history figure who had a lot of ideas.

I would be curious to hear his thoughts on current society. What OS do you think he would run on his computer? Would he even own a computer?
>>
>>56261054
>anti-modular
>anti-parallel
You don't know what you're talking about

>b-b-b-but muh CSP
Plenty of OOP frameworks implement CSP-style patterns

>b-b-b-but muh immutability and pure functions
Objects can be immutable and be side-effect free too. In fact, many languages combine functional and object-oriented design pretty neatly.
Thread posts: 24
Thread images: 1


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