Any?.toString() problem
I love Kotlin, but there’s a huge problem that constantly haunts me whenever I try to use Any?.toString() - I don’t know what exactly current implementation of this function returns. I always ask myself these questions: “was it untouched?”, “was it overridden? what does it return if so?”. I myself also cautiously override this function because it can be easily misinterpreted by other developers or they may not be able to find out that function was indeed overridden and is safe to use.
For...