I am Software Developer, currently interested in static type languages (TypeScript, Elm, ReScript) mostly in the frontend land, but working actively in Python also. I am available for mentoring.
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.
I think you accidentally wrote
instead of
in most your code examples.
Nope, it was intentional, but I did an error in syntax. Thanks! There is = sign missing. Will fix it. Thanks again
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.