| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Variables and closures (Was: Objects and Relations)
On Feb 9, 8:25 pm, Chris Smith <cdsm..._at_twu.net> wrote:
>
I am sympathetic to the general tone of your message. I have said before that there is no point in any discussion about whether a given definition is "right" or not. And in fact with semiformal specifications such as C++ and Java have it is possible to cite authoritative definitions relative to the authority of the spec itself.
However, in this case I see an actual benefit (I almost said "value" ha ha) to making explicit the fact that objects are a kind of first class variable. It makes the significance of various language design choices more apparent.
In fact, I recall a thread on comp.lang.java.programmer about the differences and similarities between closures and objects, and there was a message that I thought exactly nailed the issue.
The world we live in today, I was able to locate the exact message in about 20 seconds:
It's from five years ago. That sort of thing still kind of spooks me.
Amusingly, whereas I once felt that Dale's excellent point argued strongly against closures, I now feel that that point argues strongly against objects and in favor of closures. It may also be timely to note that Neal Gafter is circulating a proposal to add closures to Java.
Well, I think I'm just rambling at this point. Toodeloo!
Marshall Received on Sat Feb 10 2007 - 00:32:10 CST
![]() |
![]() |