TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Solving Riddles with Prolog and ES6 Generators (2014)

38 点作者 zephyrfalcon大约 6 年前

2 条评论

Waterluvian大约 6 年前
Partly related but generators clicked for me when I heard them described as, &quot;instead of pushing data into a function, you&#x27;re pulling results out of a function.&quot;<p>I&#x27;ve been doing a lot of asyncio lately and just having a mental model of my pipelines working by pulling results through them has been invaluable.
评论 #19768444 未加载
slig大约 6 年前
Shameless plug: I run a website with dozens of such puzzles that can be solved online. If you&#x27;re interested, google &quot;zebra puzzles&quot;, should be the first link.
评论 #19769589 未加载