MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1rzm1z3/objectorienteddawg/
r/programminghumor • u/PalpitationCool6981 • Mar 21 '26 • 1
31 comments sorted by
136
More like "implements" (hasA Vs isA)
15 u/realmauer01 Mar 21 '26 Without actual implementations implements just throws errors. 6 u/theclovek Mar 21 '26 LGTM, ship it 4 u/Lunix420 Mar 21 '26 edited Mar 21 '26 If you are coming from that angle, I feel like should really be neither of them and instead the correct relationship to use would be composition. 3 u/Less-Ad5766 Mar 22 '26 Actually ...
15
Without actual implementations implements just throws errors.
6
LGTM, ship it
4
If you are coming from that angle, I feel like should really be neither of them and instead the correct relationship to use would be composition.
3
Actually ...
25
Am I on time to suggest this should have been an interface instead?
3 u/redd1ch Mar 22 '26 Yes, it should be an interface.Extending from multiple classes is not that easy in some languages, and `Dog` obviously already implements `Table`.
Yes, it should be an interface.
Extending from multiple classes is not that easy in some languages, and `Dog` obviously already implements `Table`.
24
Looks like Dropbox syncing
7
Dog likes windTurbine. It’s a relationship. Dawg is not part of windTurbine.
6 u/qwertty164 Mar 21 '26 do you see the dogs tail? it certainly is a modification of wind turbine. 3 u/Chaostoad Mar 21 '26 But clearly windTurbine is a part of Dawg.
do you see the dogs tail? it certainly is a modification of wind turbine.
But clearly windTurbine is a part of Dawg.
Doesn't it supposed to be an interface?
5 u/MontagneHomme Mar 21 '26 I didn't expect this to be a programmer Rorschach test.
5
I didn't expect this to be a programmer Rorschach test.
r/firstweekcoderhumour but it’s Awwww
That's great 😃
Love it! XD
CAUTION HIGH QUALITY POST
One of the few high quality post this subreddit produces
2
standing under one of those windmills
Damn🔥
Megastruct proof
dog.swirl()
Better to say Dog implements Fan, which WindTurbine also inherits, but that removes most of the humor so I get it
1
Guess the design pattern
2 u/SKRyanrr Mar 21 '26 Flutter
Flutter
Muttley?
Dart
That’s how 3d engines work! But here it’s real life so this lacks a little bit;)🤏
For those who are asking for the name of the song!
This did not need to be a programming joke and I'm so glad it was
136
u/ramessesgg Mar 21 '26
More like "implements" (hasA Vs isA)
25
u/TradeSpacer Mar 21 '26
Am I on time to suggest this should have been an interface instead?
24
u/Foreign-Handle-2950 Mar 21 '26
Looks like Dropbox syncing
7
u/Amr_Rahmy Mar 21 '26
Dog likes windTurbine. It’s a relationship. Dawg is not part of windTurbine.
15
u/gmatebulshitbox Mar 21 '26
Doesn't it supposed to be an interface?
4
u/Outrageous_Permit154 Mar 21 '26
r/firstweekcoderhumour but it’s Awwww
3
u/vabruce Mar 21 '26
That's great 😃
3
u/Trouble_float Mar 21 '26
Love it! XD
3
u/yourkillerthepro Mar 21 '26
CAUTION HIGH QUALITY POST
3
u/OutlandishnessOver62 Mar 22 '26
One of the few high quality post this subreddit produces
2
u/Better-Credit6701 Mar 21 '26
standing under one of those windmills
2
u/sherlocked_7231 Mar 21 '26
Damn🔥
2
u/Opposite_Mall4685 Mar 23 '26
Megastruct proof
2
u/Key-Principle-7111 Mar 24 '26
dog.swirl()
2
u/CadenVanV Apr 17 '26
Better to say Dog implements Fan, which WindTurbine also inherits, but that removes most of the humor so I get it
1
u/ByteBandit007 Mar 21 '26
Guess the design pattern
1
u/No_Yesterday_4428 Mar 21 '26
Muttley?
1
u/SKRyanrr Mar 21 '26
Dart
1
u/blubernator Mar 24 '26
That’s how 3d engines work! But here it’s real life so this lacks a little bit;)🤏
1
u/AtoxFT Mar 25 '26
For those who are asking for the name of the song!
1
u/anickzz Mar 25 '26
This did not need to be a programming joke and I'm so glad it was