In the following code, can i remove the “:after” ?
(defmethod render-page-body :after ((app weblocks-webapp) rendered-html)
;…)
I am really new for CLOS, so sorry for my newbie question ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, the
:aftermeans that the code in the body of the method is executed after the primary method, rather than being the primary method.Similarly
:aroundmeans that the body “replaces” the primary function, with it still being available. This allows you to perform some class-specific things before the primary method is called, then perform some other things after the primary method has been called.