Looking at common Lisp sources I noticed that people most often use #'foo , where 'foo will be enough - that is, wherever a function tag is accepted, they choose to pass a function.
Of course, #'foo necessary when foo is defined via flet and so on. I understand the mechanics of it all. my question is one of style. Is it just because people donβt want to think about 'foo versus #'foo , so they use the latter because the former sometimes don't work? Even if that were the case, this would not explain the use of #'(lambda ...) , because #' is not always needed here.
CL is sometimes called ugly because of #' , and most beginners do not realize that this is unnecessary (I dare to suggest) most cases. I'm not a newbie, but I prefer 'foo . Why am I unusual? If I publish some code that gives the characters funcall and apply , will I be mocked and humiliated? I am considering creating the chapter "Anonymous Functions" in my area. I suspect that people want to use function pointers, but, because of peer pressure, they are afraid to "get out" about it.
source share