Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

GRASP

Name: Anonymous 2013-07-15 14:13

Controller
Creator
High Cohesion
Indirection
Information Expert
Low Coupling
Polymorphism
Protected Variations
Pure Fabrication

Do you use them with your Lisp?

Name: Anonymous 2013-07-15 14:36

>>1
LISP doesn't need design patterns because they can be implemented directly as constructs in the language.

Name: Anonymous 2013-07-15 14:38

I do not use lishp.

Name: Anonymous 2013-07-15 20:25

>>2
you never have to assign responsabilies to objects/components in lisp ?

Name: Anonymous 2013-07-15 20:39

>>4
No you can, but you have more than one choice in how to express it.

Name: Anonymous 2013-07-15 20:44

Of course the question is kind of dumb. You can use any design pattern you want in any turing complete language, while it may be more awkward in some languages.

https://en.wikipedia.org/wiki/Software_design_pattern#Criticism

The design patterns may just be a sign of some missing features of a given programming language (Java or C++ for instance). Peter Norvig demonstrates that 16 out of the 23 patterns in the Design Patterns book (that is primarily focused on C++) are simplified or eliminated (via direct language support) in Lisp or Dylan.

Name: Anonymous 2013-07-15 21:38

Yes. It is called `lambda` - a thing Java never had.
Lambda expresses everything.

Name: Anonymous 2013-07-15 21:39

GRASP THIS DICK

Don't change these.
Name: Email:
Entire Thread Thread List