<https://github.com/JetBrains/kotlin-web-site/blob...
# codingconventions
m
y
not sure what you mean. do you prefer
val foo = bar() as String
to
val foo: String = bar()
? why?
m
When I don't want explicit type then I prefer
val foo = bar()!!
y
We won’t recommend using
!!
anywhere in the style guide 🙂