I think the whole intent of this article is "let the client code/ calling code do the if/switch and pass on messages"...
Conditionals can be delegated IMO, but cannot be eliminated.
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 the whole intent of this article is "let the client code/ calling code do the if/switch and pass on messages"...
Conditionals can be delegated IMO, but cannot be eliminated.