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.

Ask HN: Why Should I Learn Lisp?

8 pointsby testing_1_2_3_4almost 4 years ago

8 comments

jstx1almost 4 years ago
The most obvious benefit seems to be that it allows you to look down on people who don&#x27;t know it. Make sure to mask this with a lot of talk about how it allows you to think differently and by dropping big words such as homoiconicity - that way some people will mistake your arrogance and pretentiousness for genuine superiority.<p>If you want to build an online following based on this, I warn you that the market has already been cornered.
foobarbaz33almost 4 years ago
Two things mostly unique to lisp.<p><pre><code> 1. Live editing, where your code evals and applies to the running image as you write it in your editor. 2. Easy full-proof macros. Not to be confused with the text-wrangling style of macros you would find in C. </code></pre> Most languages cannot provide these things. And they&#x27;re really really nice things to have.<p>Why aren&#x27;t features #1 and #2 more popular in other languages? People don&#x27;t miss what they never experienced. And both of those features require design at the runtime level and syntax level of the language to be implemented in a way that doesn&#x27;t suck. They can&#x27;t just be bolted on to a any random language like C++. Even though C++ likes to bolt on every feature it can.<p>Why would you learn lisp? To get features #1 and #2 in hopes of increasing your productivity.
评论 #28367917 未加载
_davealmost 4 years ago
The obvious answer is because it&#x27;s cool.<p>Seriously though, tinkering with Common Lisp did prepare me a bit for my first Rails job since Ruby is, as I describe it, like &quot;Perl and Smalltalk had a baby with Lisp sitting in the closet dressed like Superman, watching&quot;. Pragmatically, you might not need to touch Lisp, but going through it may show you some common pitfalls that occur in other languages and makes you wish there were Lispy features outside of it.
CLPadvocatealmost 4 years ago
Lisp shows you a completely different way of thinking about soving problems and even if you never use Lisp itself (or any of its flavours) afterwards, you still can use the methods and concepts you&#x27;ll learn to create much better software.
diatonealmost 4 years ago
Ever wanted to serialize a closure?<p><a href="https:&#x2F;&#x2F;sep.yimg.com&#x2F;ty&#x2F;cdn&#x2F;paulgraham&#x2F;bbnexcerpts.txt" rel="nofollow">https:&#x2F;&#x2F;sep.yimg.com&#x2F;ty&#x2F;cdn&#x2F;paulgraham&#x2F;bbnexcerpts.txt</a>
a3nalmost 4 years ago
So you can create a Domain Specific Language to answer that question.
k0t0n0almost 4 years ago
Data oriented programming.
tra3almost 4 years ago
So you can hack on emacs.