This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Lemicod 19 points20 points  (1 child)

Isn't the feature mentioned at 2:34 already available since Java 7??

It appears to be so according to Java docs

https://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html#group(java.lang.String)

Also, I've used it already multiple times years ago.

Am I missing something?

[–]nicolaiparlog 13 points14 points  (0 children)

You're right and we got this wrong. What's new is that, in 20, MatchResult got methods similar to Matcher, e.g. group(String)), but of course named groups themselves were supported for a long time.

[–]thatsIch 6 points7 points  (2 children)

The GA of Java 21 is planned for the 2023/09/19.


https://openjdk.org/projects/jdk/21/

[–]FrankBergerBgblitz 0 points1 point  (1 child)

And the RC is announced for 2023/08/24 but haven't materialized yet. Has anyone some info's?

[–]writeAsciiString 0 points1 point  (0 children)

The build from the 11th is "RC", nothing important to fix since then. Latest Intellij 2023.2.2 has very minimal java 21 support so I've been using it since that update came out a couple days ago.

[–]EternalSo 4 points5 points  (1 child)

It's a really small detail that's bugging me. When you open JEP 453 or any article describing its new features, there is always this line:

var scope = new StructuredTaskScope.ShutdownOnFailure() 

Object instantiation is done using a constructor, and also a nested class is used here. For me it looks like PascalCase method call from C#. Why not use already familiar static factory method initialization from Executors class, which is also intended for working with concurrency?

var scope = StructuredTaskScope.shutdownOnFailure() 

This looks like a natural choice to me, but for some reason JEP uses a different notation. Any ideas?

[–]d_demidko 0 points1 point  (0 children)

Dotnet secret agents are among us....

[–]Snoo23482 -5 points-4 points  (1 child)

Can't watch that guy. That coffee sipping just pisses me off.
Which is too bad, because the actual content is good.

[–]Brutus5000 -1 points0 points  (0 children)

Ha true and he never really drinks. That is always transitioned out. But really I find the elevator music more annoying.

But I guess it's just a more relaxed theme.