1.
cs61a
1.1.
function
1.2.
control
1.3.
highfunc
1.4.
environment
1.5.
design
1.6.
funcexample
1.7.
recursion
1.8.
recurseTree
1.9.
containers
1.10.
dataAbstract
1.11.
trees
1.12.
mutableVal
1.13.
mutableFunc_void
1.14.
iterators
1.15.
objects
1.16.
inherience
1.17.
representation
1.18.
compostion
1.19.
efficiency
1.20.
decomposition
1.21.
scheme
1.22.
exception
1.23.
interpreter
1.24.
tailcall_void
1.25.
Final
2.
cs61b
2.1.
class def & use
2.2.
2.2sslit
Light (default)
Rust
Coal
Navy
Ayu
CSNote
Local Names are not visable to other funcs. A调用B, A和B的参数是互不交集的。 A嵌套B,A是B的parent frame,A的参数对B是visable
lambda区别于function:没name
(lambda:3)() 3
调用函数时候才会形成local frame。local frame先在本层找,没有再去global frame找。
self reference 返回自身,递归调用?
调用函数前,把所有参数evaluate完。