
Moderators: thesaurus, Jeff Tirey
Kasper wrote:is it something i put on my thumb drive and take along to work so I could study/use it in my lunch break?
1%homeless wrote:I can't remember why I chose it over Perl, but I third Python.
1%homeless wrote:William being his objective self didn't even mention ancient Lisp.
Lex wrote:1%homeless wrote:William being his objective self didn't even mention ancient Lisp.
Because he doesn't think it's the best language for a beginner to learn from?
I would be interested in what he thinks is a good book to learn Lisp from, especially one for a person who is already familiar with procedural and object-oriented styles but not so much with the functional style.
1%homeless wrote:I can't remember why I chose it over Perl, but I third Python. William being his objective self didn't even mention ancient Lisp. Unfortunately, I have always been distracted with language and historical linguistics in the past few years and I always had false starts with computer languages. Now that I have decided to get into data mining and finance, it seems that I have to go shopping again.
annis wrote:I do actually think it'd be a fine language for a beginner to learn from
annis wrote:but it's a little bit harder to find good free lisp systems that run on all platforms equally well.
annis wrote:Peter Seibel's Practical Common Lisp, which is available both online and in a dead tree format.
annis wrote:It isn't pure functional, though, for which you're probably better off going straight to Haskell or OCaml.
annis wrote:You might find Common Lisp's approach to OO eye-opening.
annis wrote:It was some of my own Perl code that finally sent me screaming to Python. If Perl 6 development doesn't produce something usable and stable in a few years I expect Perl to die, living on only in the DNA of Ruby, that mutant love-child of Perl and Smalltalk.
Lex wrote:Well, it would definitely be better than learning from old line-numbered spaghetti BASIC! *shiver*
Hmmm... yeah, but a beginner would only have to get it up and running on one system. gcl is easy enough to install on Linux (even with the Slackware distro), and getting Lisp-in-a-Box running on Windows is a piece of cake. No setting up MinGW or anything.
annis wrote:You might find Common Lisp's approach to OO eye-opening.
Oh yeah? What in particular do you find so neat about it?
annis wrote:(each simulator machine may have 3000+ concurrent scripts running at any moment)
annis wrote:I have heard of troubles with Lisp-in-a-Box, but I'm pretty ignorant where Windows is involved. If I ever needed a professional Lisp implementation, though, I'd probably go with Lispworks, a hobbled version of which I believe powers lisp-in-a-box for Windows. On the other hand, SBCL has had so much work on it done by the Orbitz people, I'm not sure I'd ever need a commercial Lisp.
annis wrote:This might be hard to explain before you've had a browse through Seibel's book.
Lex wrote:annis wrote:(each simulator machine may have 3000+ concurrent scripts running at any moment)
Funny you mention 3000 concurrent scripts; I am trying to learn more about functional languages mainly because I believe they'll have a place to play in the future as we get more massive parallelism with multicore computers.
OK. I'll not bother you any more til after I've put some effort into the book.
annis wrote:Then you might find Clojure interesting
annis wrote:You're more than half-way to being one of us anyway, but just don't realize it yet.
annis wrote:I do actually think it'd be a fine language for a beginner to learn from
Lex wrote:I don't like the "offside rule" (indentation level specifies blocks instead of curly braces) in Python, but that's personal taste because I learned programming with C.
1%homeless wrote:I had a chance to quickly browse through a Lisp book today and it tried to debunk the myth about the horrid abundance of parentheses. Even after the reformat of the code, you still get that )))))))))))) at the end...
1%homeless wrote:From what I can barely remember in school, it wasn't all that bad though. I used QuickBasic and I don't think it was line numbered.
1%homeless wrote:Coming from a neophyte shopper of languages, I actually prefer the indentation because it does make the code more readable -to my eye at least.

1%homeless wrote:Jeez, this thread geeked out quickly, but I thoroughly enjoyed the discussion. I had a chance to quickly browse through a Lisp book today and it tried to debunk the myth about the horrid abundance of parentheses. Even after the reformat of the code, you still get that )))))))))))) at the end...
spans[i].addEventListener("mouseout", scholiastUnhighlightFactory(thisClass), false);
}
}
}
// Register with MediaWiki's onload events.
addOnloadHook(scholiastInit);
})();
;;; Will accept a single transformation simply or nested ones:
;;; (TRANSFORM (scale 3) (draw ...)) or
;;; (TRANSFORM ((scale 4) (rotate 90)) (draw ...))
(defmacro transform ((&rest transformations) &body element)
(if (atom (first transformations))
`(add-transform ,@element ,transformations)
(let ((trans (gensym))
(e (gensym)))
`(let ((,e ,@element))
(dolist (,trans (list ,@transformations) ,e)
(add-transform ,e ,trans))))))
Someday, you have to write an essay as to why Lisp is the most super-duper best language in the world so you don't have to repeat yourself about why you like Lisp so much.
And when writing code in any language, so long as you use an editor that knows the language you're using you shouldn't even have to worry about counting braces or parens or whatever yourself — let the editor help you.
Well, I'm not sure that's needed. Lots of people have made very good defenses of lisp already. I have nothing new to add.
annis wrote:I'm afraid I'm inclined to view complaints about parenthetical pile-ups in the same way I do people's complaints about Python's enforced indentation. It is all too often from people with minimal experience in the language.
1%homeless wrote:Any links besides Seibel's introduction chapter? Or does that says it all (or at least mostly)?
Lex wrote:1%homeless wrote:Any links besides Seibel's introduction chapter? Or does that says it all (or at least mostly)?
I found this. I haven't finished reading it yet, but it is interesting so far.
annis wrote:Paul Graham has quite a few rather eccentric essays about nearly every subject under the sun, including Lisp, which often include good history.
Lex wrote:Would Graham's ANSI Common Lisp be redundant at this point?
Lex wrote:I recently found Abelson & Sussman's Structure and Interpretation of Computer Programs, too. ....
Users browsing this forum: Majestic-12 [Bot] and 19 guests