That's an option as well.
I tend to use interface whenever possible however, because (at least in the past) there were edge cases where the typechecking is more strict.
Plus, the error messages are also clearer.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That's an option as well.
I tend to use
interface
whenever possible however, because (at least in the past) there were edge cases where the typechecking is more strict.Plus, the error messages are also clearer.