David Brown wrote: > The idea, especially with scheme (and not as much with common lisp) is > that > a function is a first class piece of data that you can use. > > It's kind of like function pointers in C, since you _can_ call a C > function > pointer using the same syntax as calling a main function. > > But, since functions in Scheme have closures (which CL has too, BTW), the > "thing" that is stored in your variable is a combination of both the code > it's data together. > > It's a similar abstraction to OO, except with a different emphasis. OO > focuses on the particular _thing_ (it is noun oriented) and there are > a set > of verbs associated with that. Actually Smalltalk has blocks/closures too. Nouns and verbs.
--Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
