I like defining just a method when there's a default, so I just have
(defmethod method (no-specialization))
instead of duplicating it with a defgeneric. But if the protocol calls for a specialized method to be defined then I use a defgeneric.
I like defining just a method when there's a default, so I just have
(defmethod method (no-specializat ion))
instead of duplicating it with a defgeneric.
But if the protocol calls for a specialized method to be defined then I use a defgeneric.