News for hackers. Stuff that matters.
Re:Don't Be Afraid of Types by Viliam1234 on Saturday March 22, 2025 @10:50AM (#43446039)
Interface are more fundamental to Java than classes.

Sadly, at the beginning, many people came to Java from C/C++, and they did the thing we used to call "writing C/C++ code in Java".

Re:Don't Be Afraid of Types by nottorp on Saturday March 22, 2025 @11:54AM (#43446649)
I'm late to the Java party, I first did anything serious in it in 2009-10 and it was Android not "traditional" Java. So no idea about early Java's history.

The interfaces is the only thing i loved from it.

Re:Don't Be Afraid of Types by Viliam1234 on Sunday March 23, 2025 @09:07AM (#43452643)
One day I will write a Java project that won't contain a single "class" keyword (it will have interface, anonymous classes, and static methods), as a piece of art.