Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

类的角色 #5

Open
Ygwww opened this issue Apr 28, 2017 · 0 comments
Open

类的角色 #5

Ygwww opened this issue Apr 28, 2017 · 0 comments

Comments

@Ygwww
Copy link
Owner

Ygwww commented Apr 28, 2017

类(class)是面向对象编程的基础,类的设计是一切 OOP 的起点。构造类的本质就是构造新的类型(types)。C++ 语言的创始人,Bjarne Stroustrup,在他的著作《The C++ Programming Language》中提出了类的七种形式,即应用程序框架(application framework)、抽象类(abstract class)、结点类(node class)、实象类(concrete class)、界面类(interface class)、动作类(action class)、句柄类(handle class)等,本章结合我的感悟来谈在 Lisp 的设计中这七种类的意义和设计方法。

http://zoomq.qiniudn.com/ZQScrapBook/ZqFLOSS/data/20120910171735/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant