Java 21 makes me actually like Java again
Java 21 makes me actually like Java again
Java 21 makes me actually like Java again
I'm not sure I agree that Void is a bottom type. If so, void-functions would never be able to return/terminate. Java's void is probably more of a unit type.
They allude to this later, acknowledging that it's sort of a cross between unit and bottom.
It's nice that Java has gotten those features but the article is pretty confused about type theory.
It'll probably take Valhalla for me, personally.
When did you start liking it?