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

>tfw I don't understand OO design patterns

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: 20
Thread images: 6

File: 1490373179990.jpg (26KB, 600x484px) Image search: [Google]
1490373179990.jpg
26KB, 600x484px
>tfw I don't understand OO design patterns
>>
>>59673867
Dumb low-res frogposter.
>>
File: 1490454468498.jpg (24KB, 600x484px) Image search: [Google]
1490454468498.jpg
24KB, 600x484px
>>59673867
That's okay you can still suck dicks
Can you?
>>
File: download.jpg (7KB, 251x201px) Image search: [Google]
download.jpg
7KB, 251x201px
>>59673867
OOP
>>
File: house-do-want_cut455_22k.jpg (22KB, 455x243px) Image search: [Google]
house-do-want_cut455_22k.jpg
22KB, 455x243px
>>59673908
>>
>>59673867
please be more precise, we may be able to help you
>>
>>59673867
>>tfw I don't understand OO design patterns
You really shouldn't bother.

Most "Design patterns" are just a way to get around the restrictions OOP places on you.

Want to check a variable? Either use an "if" or implement some obscure design pattern to get around the problem that getting objects to communicate with each other is a lot harder then it should be.
>>
File: 59079279.jpg (43KB, 250x250px) Image search: [Google]
59079279.jpg
43KB, 250x250px
>>59674150
FOUND THE NEET!!
>>
>>59674209
I am in university and actually """"learned""""" about design patterns in class.
>>
>>59674244
yeah, ok and I'm Richard Stallman
>>
>>59674578
?

Hi mister Stallman nice to see you here.
>>
>>59673867
>I do not understand a computer model of real world interactions
nigga u dum
>>
>>59674756
>>real world interactions
>>>>>>>>>>>>>>>>>real world
implying
>>
>>59673867
Neither can my boss and he always gets angry when I try to implement them.
Don't worry about it.
>>
>>59674774
barMan.order(Drink.ICE_TEA).pay(getMoney(1, Currency.EUR));

implying implications
>>
>>59674812
That is not a design pattern.

That is syntax. (with questionable code quality)

You can do the exact same thing (a weird function call) in a functional or procedural language.
>>
>>59673867
Start by reading the Greeks. OOP works very similiar to Plato's theory of Forms.
>>
>tfw Observer design pattern
>Static observable everywhere ;)
>Global search is the only way I navigate around the project
>>
>>59674150
>to get around the problem that getting objects to communicate with each other is a lot harder then it should be.

That's not true for every object oriented language -- just the shitty ones that don't support multiple value dispatch. CLOS, on the other hand, allows for tasteful object oriented programming.
>>
>>59673867
You'd make the same face if you did understand them.
Thread posts: 20
Thread images: 6


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