Java 12 is introducing Switch Expressions to improve your everyday coding experience.
Find out why and how to use it with the upcoming IntelliJ IDEA 2019.1
#Java12
If you didn't get a chance to join our #Java12 webinar live, or if you want to see it again, the recording is now available. The blog post also contains answers to the most common questions from the session. #JDK12
#Java12 is out today! IntelliJ IDEA 2019.1 has full support for Java 12 features, including new Switch Expressions. Check out this blog post or this video for more details
April's #Java Annotated Monthly is out now! Featuring news on #Java12, IntelliJ IDEA 2019.1, and a huge amount of articles and tutorials to keep your skills and interests sharp
As you may already know, #Java12 is here! Check out switch expressions, which can replace spaghetti if-then code. And don't forget to vote for the next #GroundbreakerAward by April 19! More news here:
Since 2018 @Java has predictably released every 6 months offering approachable innovation
* #Java10 Mar 2018 12 features
* #Java11 Sept 2018 17 features
* #Java12 Mar 2019 8 features
* #Java13 Sept 2019 5 features
* #Java14 Mar 2020 16 features (coming soon)
#Java#OpenJDK#JDK
Java switch statement tutorial updated with information about how the switch expressions added in Java 12 and improved in Java 13 works:
#Java#Java12#Java13
#Java12 has more than switch expr., e.g. the teeing collector:
Range<Integer> range =
.collect(teeing(
minBy(Integer::compareTo),
maxBy(Integer::compareTo),
Range::ofOptional));
A through examination:
Java 12 is coming out soon ! Eagerly awaiting OpenJDK 12 ! As someone who is writing parsers from time to time, the new switch expression will come in handy!
#java#java12#firedup
#Java12 came out earlier this week. Over the course of the next, I'll tweet all you need to know about it (in reply to this tweet):
* migration considerations
* version requirements
* switch
* API updates
* JVM improvements
* deprecated/removed APIs
Hope you'll be around! ⑫
[FEATURES 6/?]
So far, I'm not a big fan of the additions to String, indent(int) and transform(Function<String, R>), but the latter has an interesting history ( by @DustinMarx) and future - here's a possible Stream::transform (
@DustinMarx [FEATURES 7/?]
If working in cramped UIs, like social media apps, Unicode Technical Standard §2.4.1 ( comes in handy. It standardizes how to reduce char count for formatted numbers, ideally to 6 or less. #Java12 implements it with `CompactNumberFormat`.