for example: with standart declaration:
var userName: String? = ""
to have a syntax like that
var userName ?= ""
for example: with standart declaration:
var userName: String? = ""
to have a syntax like that
var userName ?= ""
I do not believe that this pattern (a variable of a nullable type with a non-null initializer) comes up so often that it deserves special syntax in the language. (I can’t recall any situations where I would have needed something like that in my code).