8
Which order do you prefer for null testing ternary expressions?
(programming.dev)
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
I'd skip the ternary and go with
But if I didn't, I'd use the first form.