TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Python vs Common Lisp, workflow and ecosystem (2019)

135 pointsby meistroabout 4 years ago

12 comments

heisigabout 4 years ago
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_watsonabout 4 years ago
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 未加载
agumonkeyabout 4 years ago
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 未加载
PeterStuerabout 4 years ago
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 未加载
whalesaladabout 4 years ago
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-fringabout 4 years ago
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_devabout 4 years ago
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 未加载
wexqabout 4 years ago
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 未加载
rahimialiabout 4 years ago
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.
prionassemblyabout 4 years ago
Obligatory reference to Hy &#x2F; Hylang, a Lisp that compiles to the Python AST.
评论 #27046289 未加载
slifinabout 4 years ago
If you like lisp and you like python you might like libpython-clj
mvanbaakabout 4 years ago
python != lisp. It&#x27;s really that simple.
评论 #27016429 未加载