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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Y Not – Adventures in Functional Programming (2012)

254 点作者 fredwu超过 11 年前

10 条评论

Peroni超过 11 年前
Jeff Casimir summed up the situation well:<p>&gt;If you want to honor @jimweirich, treat everyone like they&#x27;re your best friend, smart, and fascinating. That&#x27;s how he lived.<p><a href="https://twitter.com/j3/status/436514758833876992" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;j3&#x2F;status&#x2F;436514758833876992</a>
StefanKarpinski超过 11 年前
I saw the version of this talk that he gave at Strange Loop in 2012 using Clojure instead of Ruby:<p><a href="https://thestrangeloop.com/sessions/y-not-adventures-in-functional-programming" rel="nofollow">https:&#x2F;&#x2F;thestrangeloop.com&#x2F;sessions&#x2F;y-not-adventures-in-func...</a><p>It was hands down the best talk at the conference that year. RIP.<p>Edit: 2013 =&gt; 2012
评论 #7272030 未加载
评论 #7274924 未加载
maxiepoo超过 11 年前
I was very curious to see a post on the Ynot project <a href="http://ynot.cs.harvard.edu/" rel="nofollow">http:&#x2F;&#x2F;ynot.cs.harvard.edu&#x2F;</a> on HN but this make more sense.
igravious超过 11 年前
I thought I&#x27;d never understand the Y-Combinator and unbelievably after that talk I nearly kind of do. What a great speaker, you can see that the guy had such a warm heart and spirit. My sympathies go out to anyone who knew him personally.
fexl超过 11 年前
I&#x27;ve taken to defining &quot;@&quot; as the Y combinator, so it looks kind of like a &quot;goto&quot; label for looping, e.g.:<p><pre><code> (@\fact\n \n==n &lt;= n 0 1 (* n (fact (- n 1)))) </code></pre> (The \n==n forces an eager evaluation, to avoid building a tower of deferred operations with large n.)<p>The symbol &quot;fact&quot; is arbitrary, e.g. you could say this instead:<p><pre><code> (@\loop\n \n==n &lt;= n 0 1 (* n (loop (- n 1)))) </code></pre> To define a name &quot;fact&quot; for that function, it&#x27;s:<p><pre><code> \fact = (@\loop\n \n==n &lt;= n 0 1 (* n (loop (- n 1))))</code></pre>
crashandburn4超过 11 年前
It&#x27;s a shame about Jim. I never knew him but he did a lot for the community. RIP, he&#x27;ll be missed.
pselbert超过 11 年前
This is hands down my favorite talk that Jim ever gave. A great example of live coding.
评论 #7276108 未加载
e12e超过 11 年前
Confreaks.com seems to be having some troubles, I&#x27;m guessing this is the same talk:<p>Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich (uploaded by Confreaks):<p><a href="https://www.youtube.com/watch?v=FITJMJjASUs" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=FITJMJjASUs</a>
wegi超过 11 年前
I&#x27;ve just learned about the Y-Combinator in a lecture about functional programming a few weeks ago. Very excited for the Video as soon, as the website is up again.
LeicaLatte超过 11 年前
Was introduced only recently to Jim Weirich. Fabulous computer engineer and talker. RIP.