Rule: Suggest protocols over multimethods that use type
or class
#22
Labels
rule-idea
A suggestion for a new rule
type
or class
#22
From clojure.pprint:
Code like this should be written with protocols. There are reasons to stick with multimethods but as both a performance nit and a "best tool for the job" nit, protocols are preferred.
The text was updated successfully, but these errors were encountered: