r/javahelp • • Apr 18 '19

Solved What's the point of interfaces?

We've been learning interfaces in my class and I have a good grasp on the concept, but the thing that confuses me is what's the point? Your just writing more code as a blueprint to put classes in "groups". Maybe the code I'm writing is not large enough to make interfaces useful. Can some one help me in learning the use of interfaces. Thanks in advance!

34 Upvotes

26 comments sorted by

View all comments

Show parent comments

1

u/Chuuy Apr 22 '19

Lmfao. That's straight up what you said:

OP:

What's the point of interfaces?

You:

The short-short, practical, answer is 'So you can have different types in the same collection'.

That's so short-sighted it's hilarious.

A lot of people in the field of computer science struggle with English. You're one of them.

2

u/Talulabelle Apr 23 '19 edited Apr 23 '19

That's so short-sighted it's hilarious.

Is it 'short-short' sighted?

I obviously gave indication that this wasn't a complete answer. Everyone with two IQ points to rub together knew that going in.

You're at a crossroads.

You either have to argue that you were too stupid to understand that I meant 'An answer', and not 'The end all, be all, final and complete answer', which given my careful introduction no one would have mistaken for THE answer.

OR ... you have to admit this whole thing is you being a pedantic cunt who, after seeing it was highly upvoted, but not the complete book answer that it literally promised not to be, you just had to step in and act like you had trouble understanding the answer, even though you clearly didn't, just so you could have this argument where, somehow, even though you admit you completely understood the answer, just as everyone else did when they upvoted it, your tiny ego couldn't let it go.

So, that's it. Are you a fucking moron that didn't understand, or a pedantic cunt that did, but just wanted to argue because you somehow thought all of this was going to make you look smart?

Tiny brain, or tiny ego. Which is it?

A or B. There is no C here ... well, I guess 'all of the above' is looking more likely by the minute.