as something to be avoided and a sign of bad Kotlin code. This seems to come from the Java-to-Kotlin converter which usually results in a lot of
!!
and ugly Kotlin. But that doesn't mean there aren't valid cases where
!!
makes sense.
p
Paul Woitaschek
08/09/2018, 11:53 AM
The first time someone agrees on this. I'm always arguing that it's a good idea to let it crash when in `onCreateView`of a fragment there is no activity. That's really not a state you want to proceed with.