Marc Knaup
03/03/2017, 1:22 PM??
operator for null coalescing instead of ?:
.
• ??
is simpler and easier to type & read.
• ?:
is based on the ternary operator which Kotlin doesn’t even support. Very weird!
After using Kotlin for a while that operator still feels odd. The colon just doesn’t make any sense as does it’s name “Elvis operator”, which describes how the operator looks like instead of what it does.