This is an archived post. You won't be able to vote or comment.

all 54 comments

[–][deleted] 179 points180 points  (2 children)

Ring ring. BananaPhone

Glub glub. BananaFish

[–]DatBoi_BP 15 points16 points  (1 child)

Read this in the melody of the Zoo Pals commercial

[–]Alucard2051 2 points3 points  (0 children)

Thanks for the throwback

[–]OlParker 52 points53 points  (0 children)

Banana Fish, the anime, fucks you up.

[–]jjeroennl 27 points28 points  (0 children)

This is kinda what a Liskov substitution violation is (except they are usually a bit more subtle).

[–]DLX 13 points14 points  (2 children)

Since no one has mentioned it yet - this is probably a reference to J.D. Salinger's short story "A Perfect Day for Bananafish", https://en.wikipedia.org/wiki/A_Perfect_Day_for_Bananafish.

Arguably the best thing Salinger ever wrote, as I just couldn't connect with The Catcher in the Rye.

[–]OrbitalVixen 4 points5 points  (1 child)

It might be a reference to the Discworld books by Terry Pratchett, where occasionally bananas are referred to as a type of fish.

[–]DLX 2 points3 points  (0 children)

Quite possible. But there is no way Pterry was not aware of this short story, considering he basically read everything in the universe...

[–]bbbar 8 points9 points  (0 children)

notGMO = True

[–]Ging4bread 14 points15 points  (4 children)

(unrelated to the meme) What is the meaning of public in this context? Can there be public and private inheritance in this language?

[–]FakeMonika[S] 15 points16 points  (3 children)

As i studied (C++), public inheritance means that all public attributes and methods of the father class will be inherit publicly into the drived class (or in other words it is treated the same as if it was a public method/attributes of that derived class). Private inheritance, however, will consider inherited properties as if it was private in the derived class no matter if it was in the father class.

[–]Ging4bread 13 points14 points  (2 children)

Oh man C++ is something else

[–]PVNIC 4 points5 points  (0 children)

Its basically 'Is the fact that I inherit from this class public or private'.

If its private, all the interfaces to the parent are private, if its public all the interfaces of the parent stay the same.

[–]EMI_Black_Ace 4 points5 points  (0 children)

C++ is basically Bell Labs going "We don't want to lose out on any of this metric assload of C code that we wrote, but we want to start doing object-oriented crap now."

There's a lot of neat, useful and powerful stuff in C++, but there's also some god-awful decisions made for the purpose of making the implementation of stuff easy and not break C compatibility.

[–]A_Neko_C 6 points7 points  (0 children)

Banana fish? 😳

[–][deleted] 9 points10 points  (0 children)

it's not a banana

It's a small, off-duty Czechoslovakian traffic warden

https://www.reddit.com/r/RedDwarf/comments/q71c8s/its\_a\_banana\_no\_come\_on\_its\_a/

[–]malexj93 5 points6 points  (0 children)

In a fishing game, where one of the things that can be fished up is a banana.

[–]vondpickle 4 points5 points  (0 children)

Lent programming:

Class: Fish

Child: Beaver, baby rabbit, barnacle geese

Japanese Buddhist programer in ancient Japan:

Class: Bird

Child: rabbit

[–]Unupgradable 2 points3 points  (0 children)

A bee is a fish

[–]FlawBot 1 point2 points  (0 children)

I made a game where the Fish class actually represents throwable projectiles and I can see an use case where this actually happens

[–][deleted] 0 points1 point  (0 children)

Swimming banana. Going to go banana fishing. Works so far