1.

Python is a strongly object-oriented language, pushing this programming paradigm to its maximum. But object-oriented programming still relies on the function concept, that is something you can use to process data. Python has a more general concept of callable object, that is every object that can be called, which means applied on some data.

Python是一个强大的面向对象语言,它把这种编程范式推向了顶峰。但是,面向对象编程仍然需要依靠函数这一概念,你可以用它来处理数据。Python对于可调用对象有一个更宽泛的概念,既任何对象都可以被调用,调用的意思是可以对其应用数据。

>Python has a more general concept of callable object, that is every object that can be called, which means applied on some data.

不知道这句话翻译的对不对,另外就是Python是不是任何对象都可以调用?

1 收藏


直接登录
最新评论