Are there best practices on when to use expect/actual or sometimes we can just use interfaces?
t
thana
07/26/2019, 8:38 AM
personally i'd use interfaces whenever they make sense, e.g. i want to hide some concept.
OTOH you can't iterface e.g. toplevel fuctions so you have to make use of expect/actual