2.4 可变数据 #109
Replies: 7 comments 5 replies
-
约束传递实现看的一头雾水😥 |
Beta Was this translation helpful? Give feedback.
-
2.4.4 局部状态 中的 “以下运行环境图展示了多次调用由 make_withdraw 创建的函数的效果”不是对应的make_withdraw代码 |
Beta Was this translation helpful? Give feedback.
-
约束传递这部分我理解应该是 将整个计算过程,拆解成许多子模块。 |
Beta Was this translation helpful? Give feedback.
-
在2.4.4最后一段第一句话这样用中文表达是不是更加合理,“当你在函数内部给一个变量赋值时,Python 会将这个变量视为局部变量。如果在赋值之前尝试引用这个变量,并且它在当前帧中还没有被定义,Python 会抛出一个 UnboundLocalError 异常。” |
Beta Was this translation helpful? Give feedback.
-
凌晨三点给我头都看大了 😢 |
Beta Was this translation helpful? Give feedback.
-
2.4 可变数据
SICP Python 中文翻译
https://composingprograms.netlify.app/2/4
Beta Was this translation helpful? Give feedback.
All reactions