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.