Python 的generator 和iterator 以及iterable objects 一脉相承。Go 出现比Python 晚,解决同样的编程便捷性问题,用channel 和goroutine 两个概念。
確定! 回上一頁