So, I’m in the early stages of exploring Multiplatform with a small(as of now) personal project. I wrote an expect/actual function to retrieve user input and it seemed neat. Then I wrote another function and refactored a few things and the expect/actuals broke. I still don’t quite know why, but in digging around looking for more information about expect/actual I realized that maybe interfaces would be a better way to go.
So the question is: since we already have interfaces, what is the actual (or expected ) benefit of using expect/actual, or what is a situation where it is better or even necessary when compared to using an interface?