Naive question, why is expect+actual a thing? Why ...
# kotlin-native
u
Naive question, why is expect+actual a thing? Why not just interface+override?
g
It's much more flexible: you may have expect/actual for top level functions, objects, even just types (use existing type as actual implementation) It's possible to do with interfaces, but it requires much more abstractions just to use it
👍 2