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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Python vs Common Lisp, workflow and ecosystem (2019)

135 点作者 meistro大约 4 年前

12 条评论

heisig大约 4 年前
Speaking of Common Lisp - the European Lisp Symposium starts tomorrow (May 3 and May 4, <a href="https:&#x2F;&#x2F;european-lisp-symposium.org&#x2F;2021&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;european-lisp-symposium.org&#x2F;2021&#x2F;index.html</a>). The entire conference will be broadcast on Twitch. Python programmers are invited, too :)
评论 #27014310 未加载
评论 #27014877 未加载
mark_l_watson大约 4 年前
Nice article.<p>One thing, re “In Python we typically restart everything at each code change“: I sometimes run Python in Emacs with a REPL. I evaluate region to pick up edits. Not bad.<p>The big win for the Common Lisp REPL is being able to modify data, do restarts, etc. I usually use Common Lisp, but for right now I am heavily using Clojure to write examples for a new Clojure AI book that I am writing. I miss the Common Lisp REPL!
评论 #27017373 未加载
agumonkey大约 4 年前
Not to start a flamewar, every time I see a python talk (pycon or else), with fancy tricks like metaclasses.. all I can think is that, well, CLOS would have been perfectly fit for this too.<p>I know people are tired of the &quot;lisp&#x2F;smalltalk did it better&quot; but what features of python are not possible (or hard) in CL[OS] ?<p>ps: how many CL shops are out there ? I&#x27;d work near free just to try a CL team once.
评论 #27015442 未加载
评论 #27017912 未加载
评论 #27016794 未加载
评论 #27016050 未加载
评论 #27016804 未加载
PeterStuer大约 4 年前
I like Lisp, and I&#x27;m not a fan of e.g. Python&#x27;s whitespace sensitivity. That said, for niches such as ML and data science, I find you just can&#x27;t beat the Python ecosystem.
评论 #27015297 未加载
评论 #27018766 未加载
评论 #27013779 未加载
whalesalad大约 4 年前
I use hot reloading with an iPython repl. I write my code in such a way that I can interact with any individual part of the system via a REPL. Lisp excels here, but you can have a decent approximation of a real-time evaluation loop going.
gustavo-fring大约 4 年前
This might seem slightly unrelated, but I was reading Elixir in Action and one of the statements is along the lines of a debugger being difficult to use in its naturally concurrent environment. The Elixir strategy is to kill erroring processes, capturing their exit signals with supervisor processes and then possibly recreating a replacement process.<p>Can the common lisp condition system be adapted to Elixir? Is there an advantage to doing so? Is there some obvious tradeoff between the two I&#x27;m not expressing?<p>Thanks.<p>see this thread form HN for more about adapting the condition system elsewhere.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26852309" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26852309</a>
评论 #27013823 未加载
BiteCode_dev大约 4 年前
He forgot: in python you read the code of somebody else and it&#x27;s familiar.<p>In lisp, you are learning a new language with every lib because each author think they are a god language designer and that their macro rock. Also they don&#x27;t need a good doc cause they are obvious. Or good error message cause they never break.<p>Also the way the author dismiss the number gap of packages available is ignoring the elephant in the room.
评论 #27014431 未加载
评论 #27020140 未加载
wexq大约 4 年前
I&#x27;m not a particularly experienced or good Lisp programmer, I can customize Emacs, but that&#x27;s pretty much it.<p>However, I think this article is a bit skewed and not highlighting things Python has.<p>For instance, the standard library means that Python is more usable out of the box.<p>Also when you&#x27;ve got things like iPython or Jupyter it means you can get off the ground easily.<p>So, in the end, they&#x27;re two different languages, and I do not think either is better of the two. Right tool for the job and all that.
评论 #27015912 未加载
rahimiali大约 4 年前
There is popular python environment where you do not restart the environment after an edit: Jupyter notebooks. This comes with its own set of problems, which CL also has, but I still find notebooks a worthwhile mindset for writing applications. There’s no need to equate python with the script mindset.
prionassembly大约 4 年前
Obligatory reference to Hy &#x2F; Hylang, a Lisp that compiles to the Python AST.
评论 #27046289 未加载
slifin大约 4 年前
If you like lisp and you like python you might like libpython-clj
mvanbaak大约 4 年前
python != lisp. It&#x27;s really that simple.
评论 #27016429 未加载