Guide to Writing Cleaner Conditions With Java 12

Photo by Joshua Aragon on Unsplash

Java 12 is here. And it has brought a lot of new features and improvements that I’m personally very excited about. From a language and syntax perspective, the most impressive upgrade is the new optimized way of writing switch cases. Let’s take a look at it!

For our sample scenario, we will just write a function which takes the number of the month as input(numbers ranging from 0 to…

--

--

Product @hyperverge. I write about a lot of things, mostly tech.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arindam Roy

Arindam Roy

669 Followers

Product @hyperverge. I write about a lot of things, mostly tech.