3 ms·
> anonymous classes are closures (I really like that about Java/Scala/Groovy Apache Groovy has diverged from Java since Java 8 came out, and there's also other
by vorg 11y ago
> anonymous classes are closures (I really like that about Java/Scala/Groovy
Apache Groovy has diverged from Java since Java 8 came out, and there's also other JVM languages such as Kotlin. You only gave JVM languages as examples of the good, and all your examples of the bad were those on other platforms.
- agentgt 11y agoGroovy still has anonymous classes. And yes there are other languages that have anonymous classes I just didn't feel like enumerating them especially the OP article was about C#. Let me just say this so there isn't any assumption that I was bashing C#... C# is a far far better language than Java with the only exception for me being it doesn't have anonymous classes.