V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
nzbin
V2EX  ›  程序员

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

  •  
  •   nzbin ·
    nzbin · 2021-09-17 11:23:14 +08:00 · 5205 次点击
    这是一个创建于 945 天前的主题,其中的信息可能已经有所发展或是发生改变。

    reference VS instance

    setting VS configuration VS option VS property

    第 1 条附言  ·  2021-09-17 17:12:20 +08:00

    argument VS parameter

    property VS attribute

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

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

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

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

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

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

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

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

    ------------
    snw
        37
    snw  
       2021-09-18 08:22:23 +08:00 via Android
    @jaredyam
    形参和实参反了。
    性质和属性因为中文我也不知道怎么区别,所以不知道有没有反。
    snw
        38
    snw  
       2021-09-18 08:24:40 +08:00 via Android
    还有 OLAP 里的 Field vs Dimension, Measure vs Metric vs Scalar vs Value
    yhmpc
        39
    yhmpc  
       2021-09-18 08:30:35 +08:00
    status VS state
    nzbin
        40
    nzbin  
    OP
       2021-09-18 10:00:12 +08:00   ❤️ 1
    @jaredyam 在前端 property 和 attribute 还是有很大区别的,而且很多前端不了解,Angular 早期文档解释的不错,https://v7.angular.cn/guide/template-syntax#html-attribute-vs-dom-property
    iOCZ
        41
    iOCZ  
       2021-09-18 10:22:45 +08:00
    property 的 property 是 attribute
    mmdsun
        42
    mmdsun  
       2021-09-18 12:22:50 +08:00 via Android
    coroutine 、fiber 、process 、thread 、greenthread 、protothread 补充个
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4948 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:38 · PVG 13:38 · LAX 22:38 · JFK 01:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.