正在加载视频...

视频加载失败

OOP in a Nutshell

367,053 次观看 • 2 年前 •via X (Twitter)

10 条评论

Тsфdiиg 的头像
Тsфdiиg2 年前

Full Video:

Joby 的头像
Joby2 年前

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

Łukasz Biały 的头像
Łukasz Biały2 年前

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 Zee 的头像
Code With Zee2 年前

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.

0x404 的头像
0x4042 年前

Top tier programming

mbcoder 的头像
mbcoder2 年前

It's a shitpost inside of a shitpost.

Mr.UNIX 的头像
Mr.UNIX2 年前

OOP in french is POO

Antonio Di Pinto 的头像
Antonio Di Pinto2 年前

Best way to learn and understand OOP

WietseWind (🪝🛠 @ Xaman®, XRPL & Xahau) 的头像
WietseWind (🪝🛠 @ Xaman®, XRPL & Xahau)2 年前

(P)OOP in a nutshell 🤣

Noga Navon🏳️‍⚧️ الزهرة الحكيمة נוגה נבון 的头像
Noga Navon🏳️‍⚧️ الزهرة الحكيمة נוגה נבון2 年前

It's important to remember to flush() when using a public toilet.