And here I am still on Java 8 :/
Java 20 / JDK 20: General Availability
81–90 of 356 posts
Re: Java 20 / JDK 20: General Availability
#82its amazing how much the world hasn’t been able to keep up with java. github PRs still have no syntax highlighting support for record and var
Re: Java 20 / JDK 20: General Availability
#83Earlier quoted context omitted.
Given the terrible result we came up with in the Python community, I understand the JS wants to take their time. It's a great feature, but it's hard to get right, especially on an existing language. Not to mention JS is not typed, but pattern matching that can't match typescript types would be terrible.
What's wrong with match? I've used it quite a bit and it is quite powerful.
Trying to do simple things like matching the content of a variable will fail if you forget you have to use a dotted path if you want to avoid binding.
Trying to do advanced things such as "match a dict with variable key names and values, but you wish to enforce the number and the types and unpack them in variables" is ridiculously twisted to do, when it's even possible.
I use match/case, but it like the early years of type hints or asyncio: terrible ergonomics, and we know there is a ceiling to how much it can improve.
Re: Java 20 / JDK 20: General Availability
#84And here I am still on Java 8 :/
A company that is head-in-sand deliberately not upgrading from Java 8 is one thing. A company that is just being conservative and intentional about the upgrade path, that's another entirely different thing.
I don't mind a company that has been using Java so much that it's just a slow process for them to get on the next thing. Old libraries that need to be recompiled for Java modules, etc. Hopefully it happens for you soon.
Re: Java 20 / JDK 20: General Availability
#85Earlier quoted context omitted.
Given the terrible result we came up with in the Python community, I understand the JS wants to take their time. It's a great feature, but it's hard to get right, especially on an existing language. Not to mention JS is not typed, but pattern matching that can't match typescript types would be terrible.
What's wrong with match? I've used it quite a bit and it is quite powerful.
Re: Java 20 / JDK 20: General Availability
#86"JDK 20 reached General Availability on 21 March 2022"
Should be 21 March 2023
Not sure who can edit that page but putting here.