In an object oriented programming language these rules would most likely be modeled by a list of instances; in Erlang we use functions.
在面向对象编程语言里,我们大概会用一组对象实例来给这些规则建模;而在Erlang里,我们用函数。
The means of this pursuit have changed over time, from functions in Fortran through object-oriented programming (OOP) and inheritance toward interfaces.
这种追求的方法随着时间而变化,从 Fortran 中的函数到面向对象编程(OOP)和面向接口的继承。
Programming languages can separate the declaration of functions (or methods in an object-oriented language) from their invocation.
编程语言能够将对函数(或在面向对象语言中的方法)的声明从其调用中分离出来。
This combining of data and functions on that data is a very essence of object-oriented programming That's really what defines it.
数据与函数的结合,是面向对象编程的核心,这也就是它的定义。
应用推荐