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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Blacksmithing and Lisp

159 点作者 082349872349872大约 1 个月前

8 条评论

unoti大约 1 个月前
&gt; you can work on your problem, or you can customize the language to fit your problem better<p>There’s a thing I’m whispering to myself constantly as I work on software: “if I had something that would make this easy, what would it look like?”<p>I do this continuously, whether I’m working in C++ or Python. Although the author was talking about Lisp here, the approach should be applied to any language. Split the problem up into an abstraction that makes it look easy. Then dive in and make that abstraction, and ask yourself again what you’d need to make this level easy, and repeat.<p>Sometimes it takes a lot of work to make some of those parts look and be easy.<p>In the end, the whole thing looks easy, and your reward is someone auditing the code and saying that you work on a code base of moderate complexity and they’re not sure if you’re capable enough to do anything that isn’t simple. But that’s the way it is sometimes.
评论 #43602357 未加载
评论 #43603891 未加载
评论 #43605197 未加载
评论 #43610472 未加载
评论 #43604623 未加载
Animats大约 1 个月前
The classic issue of who made the first tongs could be inserted here, with some hammering.<p>(It&#x27;s a classic legend. There is an Islamic legend that Allah gave the first pair of tongs to the first blacksmith because you need a pair of tongs to make a pair of tongs. There&#x27;s a Nordic legend that Thor made the first tongs. In reality, somebody probably used a bent piece of green wood, which didn&#x27;t last long, but could be easily replaced.)<p>His piece &quot;Vibe Coding, Final Word&quot;[1] is relevant right now.<p>[1] <a href="https:&#x2F;&#x2F;funcall.blogspot.com&#x2F;2025&#x2F;04&#x2F;vibe-coding-final-word.html" rel="nofollow">https:&#x2F;&#x2F;funcall.blogspot.com&#x2F;2025&#x2F;04&#x2F;vibe-coding-final-word....</a>
评论 #43602122 未加载
评论 #43601632 未加载
评论 #43601209 未加载
kazinator大约 1 个月前
The truth is that when you tap softened tongs around a workpiece into shape, they turn into parentheses. <i>That&#x27;s</i> what reminds you of Lisp, not the malleability explanation that you invented afterward.<p>Lisp, Jazz, Aikido and (now) Blacksmithing.
评论 #43600777 未加载
WillAdams大约 1 个月前
For the academic take on this see:<p><a href="https:&#x2F;&#x2F;ocw.mit.edu&#x2F;courses&#x2F;6-001-structure-and-interpretation-of-computer-programs-spring-2005&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ocw.mit.edu&#x2F;courses&#x2F;6-001-structure-and-interpretati...</a>
FredPret大约 1 个月前
It&#x27;d be interesting if we could draw up a family tree of tool fabrication for any object.<p>The root object would be two rocks brought together in a bang heard &#x27;round the world, then perhaps some sharpened sticks, all the way up to a Colchester lathe somewhere in Victorian England and the machinery that made whatever object we&#x27;re looking at.
评论 #43609909 未加载
评论 #43602064 未加载
hyperbrainer大约 1 个月前
Any sufficiently complicated piece of code contains an ad-hoc implementation of Lisp.
MortyWaves大约 1 个月前
I just don’t get the analogy he’s trying to draw here
评论 #43602095 未加载
hdkdicnsnjes大约 1 个月前
Imagine the software industry if lisp was mainstream.
评论 #43601989 未加载
评论 #43601011 未加载
评论 #43601449 未加载