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.
编程语言能够将对函数(或在面向对象语言中的方法)的声明从其调用中分离出来。
The Go language supports a style of object-oriented programming similar to that used in C. Data is grouped together into structs, and then functions are defined which operate on those structs.
Go语言支持类似于C语言中使用的面向对象风格。数据被组织成structs,然后定义操作这些structs的函数。
This combining of data and functions on that data is a very essence of object-oriented programming that's really what defines it.
数据与函数的结合,是面向对象编程的核心,这也就是它的定义。
It not only retains the original Basic language functionality, but also an increase of object-oriented programming design functions.
它不但保留了原先Basic语言的全部功能,而且还增加了面向对象程序设计功能。
It not only retains the original Basic language functionality, but also an increase of object-oriented programming design functions.
它不但保留了原先Basic语言的全部功能,而且还增加了面向对象程序设计功能。
应用推荐