Live data from Hacker News

Learn Lisp the Hard Way

learnlispthehardway.org

41–50 of 144 posts

Re: Learn Lisp the Hard Way

#41
post #5
post #4

Earlier quoted context omitted.

> The biggest secret to Lisp is that it is actually the simplest programming language ever created—and that, coupled with its expressiveness and elegance, is why it is favored exclusively by the best programmers in the world. But is it?

Sounds like you just got told you're not one of the best programmers in the world and are still in shock about it.

Simple syntax does not a simple programming language make.

Re: Learn Lisp the Hard Way

#42
post #27
post #14

Earlier quoted context omitted.

I don't find your argument to be very compelling. Let me guess: you learned imperative programming first, you're most familiar with it, and you only have limited experience with Lisp, if any? The fact that you find imperative programming easy (because you know it well) and Lisp and functional programming to be hard, is not very informative about which of imperative or Lispy or functional programming is easiest to lea…

The only thing that was hard with imperative programming that I can remember was "=". That was absurd, to put it simply. "x = x + 1"? As someone who has seen these symbols in math class and think they know what they mean that notation kind of suck.

Oh man, yes! One of my earliest memories from when I started coding, at 10 years old, was when I saw "X = Y + 10" in a program, and a similar thing in the next line. My first reaction was: what is that? It looks like a system of equations that the machine is supposed to solve!

Re: Learn Lisp the Hard Way

#43
I went to a techie high school and we studied LISP in an AI class I took. My biggest memory is the load of parentheses! It was definitely an interesting language and I've often thought about looking back at it for giggles. This could be a good reference.

Re: Learn Lisp the Hard Way

#44
post #30
post #22

Earlier quoted context omitted.

totally unparsable Completely and utterly false. Lisp's s-expression syntax is trivial to parse because it is so regular. The thing with imperative programming Common Lisp is multi-paradigm, as mentioned in the site's FAQ. You can write imperative code all you want.

Parsable for humans, I believe he meant. And there's something nice about line-by-line execution.

Wrong either way. Because it is so easy to parse by computers it is easy to use them to format it. Have you tried reading foreign (as in not written by anyone you know) lisp code? IME It is not hard(er) than any other language.

For example, IME delving into the codebase of hunchentoot was way easier than django's.

Re: Learn Lisp the Hard Way

#45
post #2

"Is Lisp as hard as people say it is? No. Lisp is actually the simplest programming language, and has no syntactic cruft. While it wasn't designed to be “easy to learn” like Swift, Python, Ruby, or Basic, there is less overall to learn and you will be writing real, useful programs in Lisp sooner than you could with other languages." It's like a never-ending stream of lies, every word being a little more absurd than t…

"simple" isn't the opposite of "hard," it's the opposite of "complex."

Re: Learn Lisp the Hard Way

#47
post #35

" that Lisp is not already the de-facto programming language is just a reflection of the state of the world as a whole—only a very small percentage of the population are excited for the technological singularity, but the singularity is coming no matter how much people complain. " As a transhumanist myself I resent the arrogance that led to this ridiculous appropriation. Yes, Lisp is pretty great, but the use of other…

MIRI (one of the more well known groups of people serious about the singularity) actually recommend people learn Haskell if they want to contribute to mathematical, statistical, AI research.

http://intelligence.org/courses/

https://github.com/bitemyapp/learnhaskell

Re: Learn Lisp the Hard Way

#48
An easily overlooked, seemingly forgotten book that is great for newbies is Stuart Shapiro's _Common Lisp: An Interactive Approach_.

I stumbled into Lisp some fourteen years ago when a hard copy of the book landed my way.

The book is now freely available in electronic form (and has been for years): http://www.cse.buffalo.edu/~shapiro/Commonlisp/

Re: Learn Lisp the Hard Way

#49
post #3
post #2

"Is Lisp as hard as people say it is? No. Lisp is actually the simplest programming language, and has no syntactic cruft. While it wasn't designed to be “easy to learn” like Swift, Python, Ruby, or Basic, there is less overall to learn and you will be writing real, useful programs in Lisp sooner than you could with other languages." It's like a never-ending stream of lies, every word being a little more absurd than t…

Just because Lisp looks foreign doesn't mean that it's harder. The syntax is different , but it is also very simple . If this were untrue, Scheme wouldn't have survived as a teaching language all these years.

The DSL for string formatting certainly doesn't look simple.

  (format t "~{~@(~A~)~^ ~}, because ~{~A~^ ~} is easier!" llthw (cddr llthw))
Post reply on HN