Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yield 解耦? #1

Open
misakar opened this issue Sep 6, 2015 · 0 comments
Open

yield 解耦? #1

misakar opened this issue Sep 6, 2015 · 0 comments
Labels

Comments

@misakar
Copy link
Owner

misakar commented Sep 6, 2015

"当编写搜索某项纪录的代码时,通常会用到含有yield关键字的生成器函数,这将处理搜索过程的代码和
使用搜索结果的代码成功解耦开来。" --Unit1 README 1.3 search 函数

这句话是什么意思呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant