Java Architects Answer Your Questions - Inside Java Newscast #97

You asked questions, Java architects have the answers - from switch and if expressions to record identity, from optimal training runs to differentiable programming, and more

Always embed videos

(and give me a cookie to remember - privacy policy)

Watch on YouTube

Links to the Questions (and Subsequent Answers)

Why can't you return from a switch expression?

When you're doing a training run, what should you consider to get the best out of Leyden?

With the introduction of value classes do you ever see a reason for an identity-based record?

Adding safe navigation after introducing null-restricted and nullable types?

Lightning round:

Extreme lightning round with links elsewhere:

I'd be curious to know if there have been any discussions around adding 'if' expressions to the language.

There are many examples of some older classes in Java, like Date, Vector, Hashtable, where you can use them but it's heavily suggested to not use them. Why not simply deprecate and remove those classes?

Would Project Babylon and the Java ecosystem overall support differentiable programming?

Is there any chance of Java officially targeting web assembly so that it can run “natively” and optimized in browsers?

Any spoilers ahead for Project AmberProject Amber?