Video wird geladen...
Video konnte nicht geladen werden
OOP in a Nutshell
367,053 Aufrufe • vor 2 Jahren •via X (Twitter)
10 Kommentare

Тsфdiиgvor 2 Jahren
Full Video:

Jobyvor 2 Jahren
There are people out there building things that are beyond our comprehension.

Łukasz Białyvor 2 Jahren
By making poop method take a Toilet you create a coupling that doesn't always exist in reality. This could be solved by making Toilet an interface and then implementing it for Floor or Bed however.

Code With Zeevor 2 Jahren
why would you pass a Toilet into poop()? you want the visitor pattern, have the Cat visit the Toilet and pass Poop into the $toilet->flush() inside the visitToilet() method.

0x404vor 2 Jahren
Top tier programming

mbcodervor 2 Jahren
It's a shitpost inside of a shitpost.

Mr.UNIXvor 2 Jahren
OOP in french is POO

Antonio Di Pintovor 2 Jahren
Best way to learn and understand OOP

WietseWind (🪝🛠 @ Xaman®, XRPL & Xahau)vor 2 Jahren
(P)OOP in a nutshell 🤣

Noga Navon🏳️⚧️ الزهرة الحكيمة נוגה נבוןvor 2 Jahren
It's important to remember to flush() when using a public toilet.
