EUNO.NEWS EUNO.NEWS
  • All (20292) +229
  • AI (3103) +13
  • DevOps (906) +6
  • Software (10480) +161
  • IT (5755) +49
  • Education (48)
  • Notice
  • All (20292) +229
    • AI (3103) +13
    • DevOps (906) +6
    • Software (10480) +161
    • IT (5755) +49
    • Education (48)
  • Notice
  • All (20292) +229
  • AI (3103) +13
  • DevOps (906) +6
  • Software (10480) +161
  • IT (5755) +49
  • Education (48)
  • Notice
Sources Tags Search
한국어 English 中文
  • 1周前 · software

    Python 字典视图是实时的(可能会导致你的代码出错)

    快速测验 python d = {'a': 1, 'b': 2} keys = d.keys print(keys) d['c'] = 3 print(keys) 如果你期待: dict_keys('a', 'b') dict_keys('a', 'b') 那你错了。实际情况是……

    #python #dictionary #dict-views #iteration #mutable-data-structures #programming-bugs #memory-efficiency
  • 3周前 · software

    Ruby:按引用传值

    大多数 Ruby 开发者都熟悉通常被称为“pass‑by‑reference‑value”的概念。当一个可变对象,例如 String,被赋值给另一个变量时……

    #ruby #pass-by-reference #pass-by-value #mutability #gsub #object-references #programming-bugs #software-development
EUNO.NEWS
RSS GitHub © 2026