Everything in some way depends on the type, because the type defines the messages that can be received and the responses. That is not type checking, though, that is just code.
Other types, no matter whether they respond to / implement this functionality are rejected
If they respond to the correct message then they are not rejected by my ISBN class, because my ISBN class is not type checking. The refinements are just a way of adding the required responses that is safer than monkey patching, but ultimately they just define behaviour.
I would be keen on hearing other opinions, though.
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.
Everything in some way depends on the type, because the type defines the messages that can be received and the responses. That is not type checking, though, that is just code.
If they respond to the correct message then they are not rejected by my ISBN class, because my ISBN class is not type checking. The refinements are just a way of adding the required responses that is safer than monkey patching, but ultimately they just define behaviour.
I would be keen on hearing other opinions, though.