Java 21 makes me actually like Java again
Java 21 makes me actually like Java again
10
comments
28ReplyI'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.
10ReplyThey allude to this later, acknowledging that it's sort of a cross between unit and bottom.
4ReplyNo it's not, it is 100% a unit type (except it's not really a type, since you can only use it as return type and nowhere else)
4Reply
It's nice that Java has gotten those features but the article is pretty confused about type theory.
7ReplyIt'll probably take Valhalla for me, personally.
5ReplyWhen did you start liking it?
2Reply
You've viewed 10 comments.
Scroll to top