CORC  > 北京大学  > 数学科学学院
Go Model and Object Oriented Programming
Liu, Haiyang ; Qiu, Zongyan
2015
关键词Programming language Object Oriented Go JAVA
英文摘要Go is a contemporary language aiming to support OO programming where the core OO feature, inheritance, is intentionally excluded. Go uses the concepts of embedding and interface to provide its object model. To understand the design of Go and its consequences, we develop a simple Go-like model language, mini-Go, which abstracts Go's interface-based OO features. The formal defined type system and semantics are given. In addition, we propose an even simpler language mu Go where the feature of pointers is further removed. We demonstrate that mu Go is as expressive in OO as the original language with pointers, which provides a uniform model for Go-like OO programming. We investigate the OO model of the Go-like languages using mu Go in detail, point out that the absence of open recursion brings difficulties in OO design, and then propose a novel design pattern to mimic the open recursion feature to overcome the difficulties.; EI; CPCI-S(ISTP); liuhaiyang@pku.edu.cn; zyqiu@pku.edu.cn; 59-74; 9325
语种英语
出处EI ; SCI
出版者PROGRAMMING LANGUAGES, SBLP 2015
内容类型其他
源URL[http://hdl.handle.net/20.500.11897/436859]  
专题数学科学学院
推荐引用方式
GB/T 7714
Liu, Haiyang,Qiu, Zongyan. Go Model and Object Oriented Programming. 2015-01-01.
个性服务
查看访问统计
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。


©版权所有 ©2017 CSpace - Powered by CSpace