why !! operator exists? Why is it needed? Is there some really good reason?
r
russhwolf
11/24/2017, 3:20 AM
Generally it’s a bit of a code smell, but it’s a quick-and-dirty way to tell the compiler that you know better than it, and that you’re willing to crash if you’re wrong.
r
Ruckus
11/24/2017, 3:26 AM
So you can do
null!!
Ruckus
11/24/2017, 3:27 AM
On a more serious note, it can be quite useful for Java interop.