It was employed in the mainstream in CLOS where it was actually a design pattern to try to control the unwieldiness of the multiple inheritance of that language.
它被用于CLOS的主流中,实际上它在其中是一种设计模式,尝试控制这种语言的多重继承所带来的不便。
The Go language does not have inheritance, at least not the way most languages do.
Go语言不支持继承,至少与大多数语言的继承不一样。
The Ada programming language allowed encapsulation, but only limited inheritance.
Ada编程语言支持封装,但只有受限的继承性。
应用推荐