logoalt Hacker News

karmakazelast Tuesday at 7:19 PM1 replyview on HN

At least Java supports covariance and contravariance where Go only supports invariant generics.


Replies

PaulHoulelast Tuesday at 7:49 PM

Java has evolved to contain much of “ML the good parts” such as that languages like Kotlin or Scala that offer a chance to be just a bit better in the JVM look less necessary

show 1 reply