Proposta de closures para Java  XML
Índice dos Fóruns » Assuntos gerais (Off-topic)
Autor Mensagem
thingol
Moderador

Membro desde: 29/07/2004 16:10:13
Mensagens: 17543
Offline

Se houvesse closures, talvez o sr. David Hall conseguisse escrever a sua biblioteca de algoritmos genéricos de forma mais simples.

http://jga.sourceforge.net/index.shtml

[WWW]
thingol
Moderador

Membro desde: 29/07/2004 16:10:13
Mensagens: 17543
Offline

O Neal Gafter (Google) atualizou a sintaxe de closures.
Ele está estudando isso, juntamente com o Gilad Bracha e o Peter von der Ahé (Sun). O James Gosling aparece também na proposta, mas não sei se ele "apita muito" nessa questão.

http://gafter.blogspot.com/2006/09/debate-over-closures-for-java.html

Neal Gafter wrote:
This latest revision of the proposal drops local functions and the special nonlocal return syntax, adds support for generic type parameters that can be used to represent thrown exceptions, and has only one form of closure literal. It also adds an abbreviated invocation statement that supports very convenient control abstraction. Soon I'll present a parallel proposal based on interfaces (that is, without function types) and contrast the two proposals.


Postem no blog do Neal se tiverem alguma sugestão.
[WWW]
thingol
Moderador

Membro desde: 29/07/2004 16:10:13
Mensagens: 17543
Offline

Agora o Gafter arranjou um web site só para isto (javac.info).

Vejam a nova proposta (versão 0.3):

http://www.javac.info/closures-v03.html
[WWW]
 
Índice dos Fóruns » Assuntos gerais (Off-topic)
Ir para:   
Powered by JForum 2.1.8 © JForum Team