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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

I surrender. Lisp really is better than C++.

15 点作者 jcwentz将近 18 年前

7 条评论

jey将近 18 年前
<p><pre><code> &#62;+++++++++++[&#60;++++++&#62;-]&#60;.&#62;+++++++++++++++++[&#60;+++&#62;-]&#60;.-.&#62;++++++++++++[&#60;-------&#62;- ]&#60;.&#62;+++++++[&#60;+++++&#62;-]&#60;.&#62;++++++[&#60;----&#62;-]&#60;..-----------.+++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++.&#62;+++++[&#60;++&#62;-]&#60;.--------------- --------------------------------------------------------------------.++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+.--- --------.+++..&#62;+++++++++++++++++++[&#60;----&#62;-]&#60;.&#62;+++++++++++[&#60;++++++&#62;-]&#60;.+++.&#62;++++ +[&#60;+++&#62;-]&#60;..&#62;+++++[&#60;---&#62;-]&#60;.+++++++++++++.&#62;++++++++++++++++++++++++++++++++++++ +++++[&#60;--&#62;-]&#60;.&#62;++++++++++++[&#60;+++++++&#62;-]&#60;.&#62;++++[&#60;---&#62;-]&#60;.-------.+++++++++++++.&#62; +++++++++++++[&#60;------&#62;-]&#60;.&#62;+++++++++++[&#60;++++++&#62;-]&#60;.&#62;++++[&#60;++++&#62;-]&#60;.------------ -----.&#62;++++[&#60;++&#62;-]&#60;.+++++.&#62;++++[&#60;--&#62;-]&#60;.&#62;+++++[&#60;+++&#62;-]&#60;.&#62;++++++[&#60;---&#62;-]&#60;.&#62;++++[ &#60;++&#62;-]&#60;.&#62;+++++++++++++++++++++++++++++++++++++[&#60;--&#62;-]&#60;. </code></pre>
评论 #45779 未加载
palish将近 18 年前
<i>"Up until now, everything that I'd seen done in Lisp could easily be done in C++ too. The only real difference was a little more verbosity. But the unit-testing framework that was developed in that chapter..."</i><p>Interesting that a unit testing framework was the final straw. It's horrible not being able to use closures.
评论 #45747 未加载
koolmoe将近 18 年前
I think he missed the biggest differentiator between C++ and Lisp - it's fun to program in Lisp!
amichail将近 18 年前
Almost anything is better than C++!
评论 #45736 未加载
daniel-cussen将近 18 年前
PG, you started a movement.
评论 #45729 未加载
henning将近 18 年前
"X is better than Y" is meaningless. Better for what under what specific conditions, and how so?
jmzachary将近 18 年前
Oh god, here we go ...