News for hackers. Stuff that matters.
Re:Ask HN: How to Learn Design Patterns? by kazinator on Saturday October 07, 2023 @06:03PM (#37805932)
How we can summarize the situation is this: Lisp has patterns, but you don't need a book to give you copy-paste boiler plate.

E.g. Visitor Pattern.

Lisp programmer be like: I'm a gonna recursively walk this tree of objects, and call a generic function with each object from the tree as one argument, and one specific object as the other argument. Done!

C++/Java programmer be like: I'm gonna study the Visitor Pattern again, and then prepare a bunch of skeleton code ...

Re:Ask HN: How to Learn Design Patterns? by dingosity on Sunday October 08, 2023 @04:13PM (#37814010)
Turns out Lisp has different patterns than C++. Who knew?
Re:Ask HN: How to Learn Design Patterns? by kazinator on Tuesday October 10, 2023 @07:20AM (#37830718)
It's the same pattern. It just doesn't need an elaborate coding recipe from an instruction book. The essence of the pattern is there, but since the boilerplate is all gone it's almost unrecognizable.