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.

Lisp Quickstart

327 pointsby maccoabout 8 years ago

13 comments

SeanLukeabout 8 years ago
Oh my goodness. My old lisp tutorials are on HN again.<p>Before anyone takes potshots, please understand that these tutorials have a <i>very</i> specific purpose: to get our AI students up and coding AI projects as quickly as possible given what they know (C++&#x2F;Java). So instead of talking up front about the things that make Lisp special, I&#x27;m basically talking about how to write C in Lisp. Hence, the tutorials don&#x27;t ever discuss CLOS, macros, advanced packages, conditions, streams, the type lattice, SLIME, ASDF, Quicklisp, indeed any installable packages at all. Because we get to many of those things, and the wonders of Lisp, later in the class.
评论 #13954068 未加载
TurboHaskalabout 8 years ago
Just print this, even if you won&#x27;t ever use CL <a href="http:&#x2F;&#x2F;clqr.boundp.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;clqr.boundp.org&#x2F;</a><p>It is a quick reference guide consisting on a set of pages that can be stacked together to form a little booklet. Beautiful to look at.<p>I wish I had this for other languages and cannot recommend it enough.
评论 #13951443 未加载
评论 #13953186 未加载
评论 #13951460 未加载
klibertpabout 8 years ago
&gt; Closures are examples of powerful things which C++ simply cannot do.<p>Not true anymore. This article seems rather old, considering it refers to Racket as &quot;PLT Scheme&quot; here: <a href="http:&#x2F;&#x2F;cs.gmu.edu&#x2F;~sean&#x2F;lisp&#x2F;" rel="nofollow">http:&#x2F;&#x2F;cs.gmu.edu&#x2F;~sean&#x2F;lisp&#x2F;</a>, so it&#x27;s at least 7 years old, possibly older.
评论 #13951965 未加载
评论 #13950780 未加载
评论 #13952640 未加载
评论 #13951871 未加载
agentultraabout 8 years ago
I like the early introduction of the debugger. One of the more interesting features of CL, in my experience, is the conditions and restarts system... and built in debugger.<p>One approach to development in CL is to evaluate a form you would like to have. You end up in the debugger. You write the implementation until the error goes away. Repeat until you have a working system... interactive, hate-driven development at its finest.<p>In fact that&#x27;s one of my favourite things about CL: it&#x27;s so interactive that it almost never crashes. You can still interact with your program, see all of the data, debug it, and <i>continue</i>.
评论 #13951280 未加载
评论 #13950794 未加载
评论 #13951814 未加载
WhitneyLandabout 8 years ago
Does Lisp Suck?<p>If HN had a FAQ this might be near the top. As new people go into CS they seem to be aesthetically drawn to, or repulsed by, Lisp. The irony is there is no objective truth so these two groups of people spend a lot of time supporting their arguments (google search will amaze you, even Paul Graham has been sucked into this) but it&#x27;s not very common for people to change sides after their initial indoctrination.<p>I have come to view this as one of few (only?) metaphysical topics seriously discussed in computer science.<p>Someone on SO once said: &#x27;the correct Lisp answer is more gnomic. Something like: &quot;If you have to ask, you are not ready.&quot; Then if anyone questions further, the correct answer is either &quot;yes&quot; if it&#x27;s an either&#x2F;or question or &quot;You are not ready.&quot;&#x27;
评论 #13956474 未加载
评论 #13951006 未加载
评论 #13954984 未加载
评论 #13952010 未加载
daliwaliabout 8 years ago
If you are really in a hurry and can&#x27;t commit to learning the hundreds of forms in Common Lisp, Scheme is a minimalist alternative. The entire language has only a few forms on which make up everything else.
评论 #13950318 未加载
评论 #13950138 未加载
评论 #13950393 未加载
评论 #13950168 未加载
评论 #13950003 未加载
评论 #13950162 未加载
weavieabout 8 years ago
I wish there was a tutorial on how to navigate through the endless sea of broken and undocumented third party libraries.
评论 #13954566 未加载
评论 #13949936 未加载
评论 #13950626 未加载
plgabout 8 years ago
What are some compelling examples of Lisp languages in use today in apps&#x2F;situations&#x2F;use-cases that we might all know about?<p>A lot of people (likely mistakenly) think that it&#x27;s just a language you learn in CS classes and then leave behind.
评论 #13956380 未加载
评论 #13956311 未加载
评论 #13955130 未加载
评论 #13956183 未加载
评论 #13956393 未加载
评论 #13953119 未加载
unknownsavageabout 8 years ago
The lisp quickstart is indeed one of the key advantages of lsip:<p><pre><code> $ time sbcl --script hello.lisp Hello World! real 0m0.026s user 0m0.009s sys 0m0.013s </code></pre> Compared with languages with a much bigger starting curve:<p><pre><code> $ time node hello.js Hello World! real 0m0.113s user 0m0.052s sys 0m0.022s</code></pre>
评论 #13951408 未加载
mark_l_watsonabout 8 years ago
An old write up, but it shows the style of repl programming. I have been using Common Lisp since the 1980s, and for me it is all about using a bottom up interactive programming style - same as programming in Haskell, Ruby, Python, Scala, etc.
acheronabout 8 years ago
The author posts to HN sometimes: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=SeanLuke" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=SeanLuke</a><p>(I was a grad student in one of his classes many years ago.)
muterad_murilaxabout 8 years ago
Why does CL feature an ascii rendering of the golden menorah?
评论 #13955956 未加载
bitwizeabout 8 years ago
Since Lisp flamewars are to the average Hackernews what catnip is to a cat, Hackernews pounces on a years-old quick-start guide to Lisp for university students who took AI as an elective to meet their major requirements, and who will likely end up hating Lisp with the fury of a thousand suns by the time they graduate.<p>The Clojure Inquisition stops by to remind everybody that what really matters in programming languages is how many hipsters you can attract into your fan base.
评论 #13961597 未加载