there's also this weird stigma around `!!` as some...
# android
j
there's also this weird stigma around
!!
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
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.