← 返回单词列表

post-increment

noun 编号: P02195
post-increment 指“先使用当前值、后进行递增”的操作,也可指执行这种操作。
💡 记忆钩子
把变量想成一张要先递出的号码牌:程序先递出当前号码,随后才把牌上的号码加一;因此 post-increment 既可指这种“先取后加”的操作,也可指执行它。
📝 学习建议
  • 学习时先记住“先用旧值,后加一”这一时序,再与 pre-increment 的“先加一,后使用”对比。
  • 不要把 post-increment 误解为“把结果整体加一”;它强调的是递增发生在包含该变量的表达式求值之后。
📖 中文释义
noun
  • core 后置递增操作
    📖 一种“先取当前值、后把变量加一”的操作:表达式先得到旧值,递增随后发生。
    💡 常见结构是“变量 + post-increment”或“the post-increment of + 变量”。它是编程术语,适合出现在代码说明、技术文档和课堂讲解中。不要把它和单纯的递增混为一谈,因为这里特别强调递增的先后顺序。
    In a post-increment operation, the old value is used before the variable increases.
    在后置递增操作中,变量增加前会先使用旧值。
    The post-increment returns the current value and then updates the counter.
    后置递增先返回当前值,然后更新计数器。
post-increments plural
verb
  • core 对变量执行后置递增
    📖 指让变量先以当前值参与表达式,随后再把它增加一,核心仍是“先用后加”。
    💡 常见结构是“post-increment + 变量”,也可以说“对变量执行 post-increment”。这个动词用于技术说明,不用于日常的“增加”或“增长”语境。它通常直接带变量作宾语,不能省略递增对象而只说某物被 post-increment。
    transitive
    The program post-increments the counter after reading its value.
    程序读取计数器的值后,再对它执行后置递增。
post-increments present,singular,third-person post-incrementing participle,present post-incremented participle,past post-incremented past
🌳 词源
由表示“之后”的前缀 post- 和表示“递增”的 increment 构成。
Proto-Indo-European *pós Proto-Indo-European *-ti Proto-Indo-European *pósti Proto-Italic *posti Old Latin poste Latin post English post- English increment English post-increment From post- + increment.
🔄 变式
post-incremented past post-incrementing present post-increments plural
🏷 单词标签 & 词根
暂无标签