another thing: I find myself often in the situatio...
# announcements
e
another thing: I find myself often in the situation where I do need a
lateinit
on inline classes (which is forbidden) which workarounds exist other than nullability?
g
How lateinit is possible on inline classes, even in theory?
e
yeah, I know technically isn't possible
but I'm evaluating if creating a companion invalid instance
like
var programName = GlProgram.INVALID
or
var programName = GlProgram(-1)
I'd like to get some feedbacks
g
Looks as valid approach for me
👍 1
also don’t forget, if you make it nullable you will loose inlining, value will be boxed same way as with other primitives
e
uh, yeah, I totally forgot