Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在这种情况下,非纯 OO 语言是一种语言,并非一切都是对象。例如,Java 具有“原始”类型,其行为与对象不同。例如,Java 的原始类型是按值传递的,而 Java 在传递它的对象时传递引用。
相比之下,Python 将一切都视为对象,虽然它有内置类型,但它没有原始类型,一切都是对象。
我认为您误解了对类的引用。我不认为他们说纯 OO 语言没有类。