• 请不要在回答技术问题时复制粘贴 AI 生成的内容
nzbin
V2EX  ›  程序员

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

  •  
  •   nzbin ·
    nzbin · Sep 17, 2021 · 6966 views
    This topic created in 1872 days ago, the information mentioned may be changed or developed.

    reference VS instance

    setting VS configuration VS option VS property

    Supplement 1  ·  Sep 17, 2021

    argument VS parameter,

    property VS attribute

    42 replies  •  2021-09-18 12:22:50 +08:00
    AoEiuV020
    AoEiuV020
    Sep 17, 2021
    1
    不知道,
    Building
    Building
    Sep 17, 2021 via iPhone❤️8
    2
    引用 vs 实例
    设置 vs 配置 vs 选项 vs 属性
    很明显的区别不是吗?
    yinusxxxx
    yinusxxxx
    Sep 17, 2021❤️15
    3
    没有具体上下文,没有讨论的意义
    yousabuk
    yousabuk
    Sep 17, 2021 via iPhone
    4
    知道
    rpman
    rpman
    Sep 17, 2021
    5
    区别都挺大的
    IvanLi127
    IvanLi127
    Sep 17, 2021 via Android
    6
    我觉得我知道,感觉区别还算很明显
    Dvel
    Dvel
    Sep 17, 2021
    7
    像自己制作的 Rime 输入方案,算是 setting 还是 configuration 呢?
    stimw
    stimw
    Sep 17, 2021 via Android
    8
    第一个有区别。
    但第二个一系列词真的是看语境甚至是因人而异的,没那么多规定的区别。
    leon0318
    leon0318
    Sep 17, 2021 via iPhone
    9
    仿佛来到了 reddit……
    tabris17
    tabris17
    Sep 17, 2021
    10
    这么明显的区别看不出来吗?

    咱先不说拼法,就单词长度都不一样
    nzbin
    nzbin
    OP
    Sep 17, 2021
    11
    @leonme 😂
    huntagain2008
    huntagain2008
    Sep 17, 2021
    12
    我作为小白的理解,
    reference 引用
    > 话题讨论:你知道这些计算机词汇的区别吗?
    这个就是引用你的提问。

    instance 实例
    常见于数据库实例,不过我不懂它的意思。
    setting 设置
    每天我打开电脑,第一件事就是点击设置,看看 windows11 是否有更新。

    configuration 配置
    常见于容器配置文件,比如 tomcat,我作为小白无法判断配置的是否正确,只能通过试过后感觉能用。
    option 选项
    常见于交互式命令行,比如 windows 运行 cmd,输入 ipconfig /all 回车后看本地连接详细信息
    property 属性
    常见于右键查看文件属性,可以看到各种 attribute
    huntagain2008
    huntagain2008
    Sep 17, 2021
    13
    @leonme 小白我 19 年 8 月中旬我注册 v2,现在感觉这个论坛已经不行了。感觉多是机器人发问搜集信息的。
    Leonard
    Leonard
    Sep 17, 2021
    14
    直译就看出来区别了吧
    gefranks
    gefranks
    Sep 17, 2021
    15
    看不出区别的话只能说明英语没学好,单词的使用场景没有过关.
    nzynzynzy
    nzynzynzy
    Sep 17, 2021
    16
    太水了吧
    nzbin
    nzbin
    OP
    Sep 17, 2021
    17
    这些词单纯翻译肯定很容易,但是真正使用的时候很多人分不清,比如某个变量明明是一个 instance,但是却出现 xxxRef 这种命名,另外就是 y 一个函数叫 `设置配置项`,到底是 setOption 还是 setConfig 呢?
    marcong95
    marcong95
    Sep 17, 2021
    18
    @nzbin #17 你说变量这个就简单了,xxxRef 是一个 instance 的 reference,变量本身是一个引用,但是引用了一个实例
    namelosw
    namelosw
    Sep 17, 2021❤️3
    19
    前几个例子举得不太好,reference 和 instance 都搞不清不是因为词汇,是因为概念完全就没搞懂。

    真正比较容易混的是 arguments parameters,还有 fields properties attributes 之类的
    acerest
    acerest
    Sep 17, 2021
    20
    Added property to option in settings by the configuration
    huangmingyou
    huangmingyou
    Sep 17, 2021
    21
    增加一个 cache vs buffer
    AllenHua
    AllenHua
    Sep 17, 2021
    22
    是真的水,如果说给出多组例子我还能学到点知识。

    实际上类似正文中的这种“案例”还有很多。
    l00t
    l00t
    Sep 17, 2021
    23
    再加一个 Preference 偏好
    libook
    libook
    Sep 17, 2021
    24
    type VS class
    YsHaNg
    YsHaNg
    Sep 17, 2021
    25
    operator & function
    singleton & scalar
    xingheng
    xingheng
    Sep 17, 2021
    26
    计算机的讨论一下 method vs function 比较合理吧
    stephenyin
    stephenyin
    Sep 17, 2021
    27
    这坛子真的全都是前端啊啊啊
    mingl0280
    mingl0280
    Sep 17, 2021 via Android
    28
    知道,第一个差距可太大了。引用和实例这俩东西八竿子打不着。
    setting/configuration 可以混用,option 一般是比 setting 更动态化的项用,property (在这个语境下)一般是一些不太可变或者不可变的项用。
    argument 和 parameter 倒是可以混用,property 和 attribute 视语言而定(同样,在这个语境下有些语言里不同,有些可以混用)
    mingl0280
    mingl0280
    Sep 17, 2021 via Android
    29
    顺便一提 argument 硬要指的话是指的传递的值,parameter 是指的参数列表,不过真没人三天两头这么分。
    GrayXu
    GrayXu
    Sep 17, 2021
    30
    @huangmingyou cache 和 buffer 就完全不是一个意思。和上面那一堆“设置”不太一样。
    ysc3839
    ysc3839
    Sep 17, 2021 via Android
    31
    按自己的理解写了一段话,不知道对不对……
    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
    janssenkm
    Sep 17, 2021 via iPhone
    32
    reference VS instance
    引用 对 实例

    setting VS configuration VS option VS property
    设置 对 配置 对 选项 对 属性
    lululau
    lululau
    Sep 17, 2021
    33
    internet vs Internet
    kidlj
    kidlj
    Sep 17, 2021
    34
    authentication vs authorization
    jaredyam
    jaredyam
    Sep 17, 2021
    35
    argument:形参
    parameter:实参
    property:性质
    attribute:属性

    具体区别见中文
    c0xt30a
    c0xt30a
    Sep 18, 2021
    36
    type vs class

    ------------
    snw
    snw
    Sep 18, 2021 via Android
    37
    @jaredyam
    形参和实参反了。
    性质和属性因为中文我也不知道怎么区别,所以不知道有没有反。
    snw
    snw
    Sep 18, 2021 via Android
    38
    还有 OLAP 里的 Field vs Dimension, Measure vs Metric vs Scalar vs Value
    yhmpc
    yhmpc
    Sep 18, 2021
    39
    status VS state
    nzbin
    nzbin
    OP
    Sep 18, 2021❤️1
    40
    @jaredyam 在前端 property 和 attribute 还是有很大区别的,而且很多前端不了解,Angular 早期文档解释的不错,https://v7.angular.cn/guide/template-syntax#html-attribute-vs-dom-property
    iOCZ
    iOCZ
    Sep 18, 2021
    41
    property 的 property 是 attribute
    mmdsun
    mmdsun
    Sep 18, 2021 via Android
    42
    coroutine 、fiber 、process 、thread 、greenthread 、protothread 补充个
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1340 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 98ms · UTC 21:00 · PVG 05:00 · LAX 13:00 · JFK 16:00
    ♥ Do have faith in what you're doing.