基于类和基于类型的 OO 有什么区别?
> There are about a hundred terminology issues here, mostly built around someone (not you) trying to make their idea sound like The Best.
感觉被这句话击中了

我粗略地理解为:class based,类在编译后已经被干掉了,代码运行的时候类是不存在于内存的;prototype based,原型在运行时是一个实实在在存在于内存的对象,可以动态改变
展开
2