Friday, 13 October 2023

Kotlin is not evil

 I like Kotlin. But there are some grumbles:

  • I really miss the ?: operator.
    • It makes me squirm to write ${if (condition) value1 else value2} as if some idiot thought Python was a good idea, instead of ${(condition) ? value1 : value2} like Java, C, Perl.
    • It's especially saddening when ?: is right there in front of me like a tease to remind me of its absence.