Agreed about Java lying. But if I return a Kotlin ...
# announcements
j
Agreed about Java lying. But if I return a Kotlin List which is immutable, and the caller casts it to MutableList, I'm not the one lying. The caller is the one cheating deliberately, and should thus assume the consequences if mutating the list leads to chaos.