作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
是否有一个公认的通用术语包含变量、类实例和数组的概念?基本上是“任何需要内存的类型”。在 C++ 中,这样的东西称为对象,但我正在寻找一个与语言无关的术语。
§ 1.8 The C++ object model
1 The constructs in a C++ program create, destroy, refer to, access, and manipulate objects. An object is a region of storage. [...] An object can have a name (Clause 3). An object has a storage duration (3.7) which influences its lifetime (3.8). An object has a type (3.9).
最佳答案
在大多数/所有事物都是“一流”的语言中,例如 Lisp 或 Lua,这将被称为“值”。
关于arrays - 需要内存的类型化事物的语言不可知术语,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2754155/
我是一名优秀的程序员,十分优秀!