3 ms·
I do agree that streams and lambdas finally got Java in the same decade as C#, and I love them. But, there have been a number of times where a private interfac
by manyxcxi 10y ago
I do agree that streams and lambdas finally got Java in the same decade as C#, and I love them.
But, there have been a number of times where a private interface method would have been nice (getLogger or something) but instead you end up implementing the interface with an abstract class and basically get the same thing in practice.
Since the methods are private you shouldn't have to write anything that knows about the abstract base class, but it's still just another one of those contortions that Java was putting us through. I'll be happy to have it, even if it's rarely used.