Re: Closures versus objects

Matthew D Swank <[email protected]>
Newsgroups gmane.comp.lang.lightweight
Message-ID <[email protected]>
Not particularly deep, but anonymous functions lessen the pain somewhat
of programing in OO languages that have no macros.  I'm thinking
specifically of blocks in Smalltalk, and anonymous delegates in C#.

Control structures tend to look more like control structures when I
don't have to define a half a dozen named classes just to temporarily
establish some bindings to run a block of code.

Matt
-- 
"You do not really understand something unless you can explain it to
your grandmother." — Albert Einstein.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.