Closures for statically-typed object-oriented languages

被引:0
|
作者
Guimaraes, JD [1 ]
机构
[1] UFSCar, Dept Computacao, Sao Carlos, SP, Brazil
关键词
closure; smalltalk blocks; object-oriented languages; green;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Closures increase considerably the level of a language by mixing access to local variables with remote execution of a set of locally-defined statements. However, to date closures have not been added to statically-typed languages because it is difficult to type them and runtime errors occur if local variables that no longer exist are accessed. We proposed a limited but quite general kind of closure for statically-typed object-oriented languages. They can be used in most situations normal closures can without introducing any runtime errors.
引用
收藏
页码:54 / 60
页数:7
相关论文
共 50 条