@jroid8 to Programmer [email protected] • 1 year agoknow the features of your languageimagemessage-square144arrow-up1647arrow-down123
arrow-up1624arrow-down1imageknow the features of your language@jroid8 to Programmer [email protected] • 1 year agomessage-square144
minus-square@[email protected]linkfedilink11•1 year agoYes, it’s very useful when applied correctly. I’m always disappointed when I remember, that I can’t use such a feature, because I’m stuck using Java.
minus-square@[email protected]linkfedilink1•1 year agoMaybe you’r using an older version of Java? Works fine for me.
minus-square@[email protected]linkfedilink1•edit-21 year agoNew versions of java have a null coalescing operator? I didn’t know that. Edit: a short search didn’t return any answers, as far as I can see java doesn’t have this operator, the closest thing is the ternary if operator.
Yes, it’s very useful when applied correctly.
I’m always disappointed when I remember, that I can’t use such a feature, because I’m stuck using Java.
Maybe you’r using an older version of Java? Works fine for me.
New versions of java have a null coalescing operator?
I didn’t know that.
Edit: a short search didn’t return any answers, as far as I can see java doesn’t have this operator, the closest thing is the ternary if operator.