Hacker News Comments on
Practical Common Lisp
GoogleTechTalks
·
Youtube
·
2
HN points
·
4
HN comments
- This course is unranked · view top recommended courses
Hacker News Stories and Comments
All the comments and stories posted to Hacker News that reference this video.Peter Seibel talks about it in Practical Common Lisp and in the talk he had at Google about the book: https://youtu.be/VeAdryYZ7akThe book is available online I think.
⬐ gpmThanks!That is definitely an interesting concept.
Peter Seibel's talk "Practical Common Lisp"[1] covers that from a different angle, also comparing multiple dispatch with the visitor pattern.
⬐ elibenPart 3 in the series (coming some time next week hopefully) shows how multiple dispatch is done in CLOS (Common Lisp) :-)P.S. I love Seibel's PCL - great book
The author provides a good example of legitimate use of change-class with his compiler example.About violating "some earlier architectural plan" in the case of libraries: Being able to do this allows CL programmers to freely mix libraries with different "architectural plans" without resorting to some half-baked fusion architecture that has to account for the different styles used by the libraries.
Last but not least, change-class is not a hack - it's behavior is well defined and documented. And when you consider that CL's "object orientation" is more generic that c++'s or java's, based on generic methods alone, inferring from c++- or java-paradigms to good CL style just does not work. Peter Seibel's talk "Practical Common Lisp" at google explains that pretty well: https://www.youtube.com/watch?v=VeAdryYZ7ak
I agree that my macros explanation was stretched. I simplified it too much.Restarts are really nice, I first heard about them in "Practical Common Lisp" google talk: http://www.youtube.com/watch?v=VeAdryYZ7ak