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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rootless Root - The Unix Koans of Master Foo (Eric S. Raymond)

100 点作者 mahipal超过 14 年前

8 条评论

aufreak3超过 14 年前
One of the absolute best techie <i>koans</i> I've come across is this "closures vs objects" one by Anton Van Straaten -<p><a href="http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/msg03277.html" rel="nofollow">http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/m...</a><p>Reproduced below -<p>The venerable master Qc Na was walking with his student, Anton. Hoping to prompt the master into a discussion, Anton said "Master, I have heard that objects are a very good thing - is this true?" Qc Na looked pityingly at his student and replied, "Foolish pupil - objects are merely a poor man's closures."<p>Chastised, Anton took his leave from his master and returned to his cell, intent on studying closures. He carefully read the entire "Lambda: The Ultimate..." series of papers and its cousins, and implemented a small Scheme interpreter with a closure-based object system. He learned much, and looked forward to informing his master of his progress.<p>On his next walk with Qc Na, Anton attempted to impress his master by saying "Master, I have diligently studied the matter, and now understand that objects are truly a poor man's closures." Qc Na responded by hitting Anton with his stick, saying "When will you learn? Closures are a poor man's object." At that moment, Anton became enlightened.
评论 #1731266 未加载
pak超过 14 年前
As somebody continually interested in new and successful user interface ideas, the GUI one has me tickled pink:<p><a href="http://catb.org/esr/writings/unix-koans/gui-programmer.html" rel="nofollow">http://catb.org/esr/writings/unix-koans/gui-programmer.html</a><p>because it is true that point and click will always suffer from a loss of expressivity in the way that this story so perfectly captures.<p>In a way, though, the koan also illustrates the flip side: if the expressive solution to something is a new language, how do you empower somebody who doesn't know or can't learn the language? The same way a person who goes to a foreign land tries to communicate basic ideas--by sign language, or symbols, or pictures. Sure, sometimes you will be misinterpreted and get peed on. And you can only handle the basics, like asking for food or directions; discussing philosophy or politics is probably out of the question. But it's better than not being able to communicate at all, and for many problems, people are happy with buying the pictographic toolkit that lets them do their job.
评论 #1731172 未加载
athom超过 14 年前
Ah, this one takes me back.<p>It's almost a pity no one else has mentioned the classic Tao of Programming by Geoffrey James:<p><a href="http://www.canonical.org/~kragen/tao-of-programming.html" rel="nofollow">http://www.canonical.org/~kragen/tao-of-programming.html</a><p>A bit dated now, and it looks like ESR has improved on the concept considerably, but this little classic will always be my favorite:<p>"Each language has its place within the Tao.<p>But do not program in Cobol if you can avoid it."
pjscott超过 14 年前
The problem with articles written by ESR is that the actual discussion gets drowned out by people complaining about the author. The signal to noise ratio goes way, way down.
评论 #1730996 未加载
评论 #1731969 未加载
billswift超过 14 年前
Raymond wrote a post about the koans and some of his other stuff Saturday, <i>Mystical Poetry and Mental Postures</i> - <a href="http://esr.ibiblio.org/?p=2596" rel="nofollow">http://esr.ibiblio.org/?p=2596</a> ; that I linked on HN - <a href="http://news.ycombinator.com/item?id=1729978" rel="nofollow">http://news.ycombinator.com/item?id=1729978</a>.
tzury超过 14 年前
if you find the design of the site's annoying for reading, you may be willing to the readability version of it on a gingle pdf file<p><a href="http://dl.dropbox.com/u/135679/output.pdf" rel="nofollow">http://dl.dropbox.com/u/135679/output.pdf</a>
donaq超过 14 年前
This thread sort of shows exactly why ESR is where he is. Everybody seems to have a strongly held opinion of him, positive or otherwise.
alnayyir超过 14 年前
As much as I love zen koans, especially hacker koans, it's worth remembering that ESR doesn't really code and I don't know if he merits the 'authority' that some people ascribe to him.
评论 #1730290 未加载
评论 #1730278 未加载
评论 #1730229 未加载