News for hackers. Stuff that matters.
Re:The Land of Lisp by hellofunk on Friday October 06, 2017 @02:29PM (#15419135)
> rather than looking like templated design patterns

Speaking about another lisp, Clojure, it is a goal that each program finds its own design pattern. That's kinda the whole idea. Design patterns can really get in the way, unless your language requires them, which some languages do (i.e. Java where everything must be an object, so OO it is, or Apple's platforms where the MVC pattern is deeply interwoven into all the APIs).

Lisp in general is about exploring a particular problem using only the constraints of that problem, without concern for how different problems get solved. By contrast, design patterns are about forcing a common solution onto a range of different problems.

Re:The Land of Lisp by sbov on Friday October 06, 2017 @08:33PM (#15421529)
> By contrast, design patterns are about forcing a common solution onto a range of different problems.

I always viewed design patterns as providing a shared name for common solutions to common problems. And that forcing a common solution to a range of different problems was a misuse of them.

But maybe I'm wrong.

Re:The Land of Lisp by bitwize on Friday October 06, 2017 @09:27PM (#15421713)
I like to think of design patterns as "TV Tropes for programming". The GoF probably intended their book to be taken in that spirot. But then design patterns became something that computer science students and job candidates got quizzed on...
Re:The Land of Lisp by kbp on Friday October 06, 2017 @10:36PM (#15421954)
> I always viewed design patterns as providing a shared name for common solutions to common problems. And that forcing a common solution to a range of different problems was a misuse of them.

Exactly, a design pattern is just that: a pattern of design, that shows up organically after you have enough systems designed in the same language. Many of the design patterns that occur in languages like C++ and Java don't show up in Lisp because Lisp is a rather different language, but then we have our own design patterns as well, things like with- macros.

Re:The Land of Lisp by flavio81 on Friday October 06, 2017 @04:03PM (#15419944)
>By contrast, design patterns are about forcing a common solution onto a range of different problems.

This is one of the best criticisms of Design Patterns i've ever read. Great point.