话题讨论:你知道这些计算机词汇的区别吗?

2021-09-17 11:23:14 +08:00
 nzbin

reference VS instance

setting VS configuration VS option VS property

5262 次点击
所在节点    程序员
42 条回复
huangmingyou
2021-09-17 16:20:24 +08:00
增加一个 cache vs buffer
AllenHua
2021-09-17 16:23:51 +08:00
是真的水,如果说给出多组例子我还能学到点知识。

实际上类似正文中的这种“案例”还有很多。
l00t
2021-09-17 17:02:23 +08:00
再加一个 Preference 偏好
libook
2021-09-17 18:23:57 +08:00
type VS class
YsHaNg
2021-09-17 18:28:10 +08:00
operator & function
singleton & scalar
xingheng
2021-09-17 18:48:27 +08:00
计算机的讨论一下 method vs function 比较合理吧
stephenyin
2021-09-17 19:01:43 +08:00
这坛子真的全都是前端啊啊啊
mingl0280
2021-09-17 20:39:32 +08:00
知道,第一个差距可太大了。引用和实例这俩东西八竿子打不着。
setting/configuration 可以混用,option 一般是比 setting 更动态化的项用,property (在这个语境下)一般是一些不太可变或者不可变的项用。
argument 和 parameter 倒是可以混用,property 和 attribute 视语言而定(同样,在这个语境下有些语言里不同,有些可以混用)
mingl0280
2021-09-17 20:42:43 +08:00
顺便一提 argument 硬要指的话是指的传递的值,parameter 是指的参数列表,不过真没人三天两头这么分。
GrayXu
2021-09-17 20:46:11 +08:00
@huangmingyou cache 和 buffer 就完全不是一个意思。和上面那一堆“设置”不太一样。
ysc3839
2021-09-17 20:48:36 +08:00
按自己的理解写了一段话,不知道对不对……
When user open settings dialog, the program reads configuration file, and display all options in the dialog. Some options are optional. When user applied the settings, the program create a new instance of some class, and call a function, using the reference of instance as argument. The function receives the reference from parameters and do something.
janssenkm
2021-09-17 21:54:57 +08:00
reference VS instance
引用 对 实例

setting VS configuration VS option VS property
设置 对 配置 对 选项 对 属性
lululau
2021-09-17 22:23:48 +08:00
internet vs Internet
kidlj
2021-09-17 23:03:21 +08:00
authentication vs authorization
jaredyam
2021-09-17 23:38:12 +08:00
argument:形参
parameter:实参
property:性质
attribute:属性

具体区别见中文
c0xt30a
2021-09-18 03:08:04 +08:00
type vs class

------------
snw
2021-09-18 08:22:23 +08:00
@jaredyam
形参和实参反了。
性质和属性因为中文我也不知道怎么区别,所以不知道有没有反。
snw
2021-09-18 08:24:40 +08:00
还有 OLAP 里的 Field vs Dimension, Measure vs Metric vs Scalar vs Value
yhmpc
2021-09-18 08:30:35 +08:00
status VS state
nzbin
2021-09-18 10:00:12 +08:00
@jaredyam 在前端 property 和 attribute 还是有很大区别的,而且很多前端不了解,Angular 早期文档解释的不错,https://v7.angular.cn/guide/template-syntax#html-attribute-vs-dom-property

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/802494

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX