Author of LOL here, if there are any questions!
extended the games a lot and even ported them later on to other languages.
thanks a lot :)
51–60 of 84 posts
Author of LOL here, if there are any questions!
extended the games a lot and even ported them later on to other languages.
thanks a lot :)
Earlier quoted context omitted.
If you like this sort of thing, here are some others in a similar humorous style for other languages. 1. Kaufman, Roger. A FORTRAN Coloring Book (probably the first funny programming book -- from 1978). 2. Lipovača, Miran. Learn You A Haskell for Great Good. 3. Hebert, Fred. Learn You Some Erlang for Great Good (inspired by the Haskell book). 4. Felleisen, Matthias. Realm of Racket (basically Land of Lisp for Racket.…
Why’s Poignant Guide To Ruby is also in this vein, though a bit weirder.
Earlier quoted context omitted.
> nobody's done a "Commonwealth of Clojure" Higginbotham, Daniel. Clojure for the Brave and True. https://www.braveclojure.com/
I suspect this is one of the best books on Clojure out there ("suspect": I'm working through a couple of different ones on and off).
They're certainly not as colourful as brave but found the pace and coverage good
Earlier quoted context omitted.
I loved Land of Lisp , but found Clojure for the Brave and True annoying. To me, LoL is hilarious, while CftBaT tries to be funny, but fails.
Hmmm I think I remember a few failed jokes but I found the actual coverage of the language pretty good, wdyt? I guess for a book like this you are not really looking for a comedy best seller, no? :-)
Earlier quoted context omitted.
Hey Dr Barski. I'm actually reading your book right now. I do have a question. How do you write Lisp effectively? And by that I mean, Lisp seems to be written from the inside out due to the nested lists. Is there something that makes it more natural to write: (trim-string (get-string '(some data))) Or do you need to know that you're going to call trim before you get the string? Hope that makes sense.
how do you write it in other languages? sin(cos(10.4)); or v = 10.4; c = cos(v); s = sin(c); in Lisp one might write: (let* ((v 10.4) (c (cos v))) (sin c)) really old style: (prog (v c s) (setq v 10.4) (setq c (cos v)) (setq s (sin c)) s)
(sin (cos 10.4))Earlier quoted context omitted.
Hey Dr Barski. I'm actually reading your book right now. I do have a question. How do you write Lisp effectively? And by that I mean, Lisp seems to be written from the inside out due to the nested lists. Is there something that makes it more natural to write: (trim-string (get-string '(some data))) Or do you need to know that you're going to call trim before you get the string? Hope that makes sense.
The way I do it, is that in my editor, I can type: '(some data|) Where | is my cursor. And then I have a keybinding that moves my cursor to the front and wraps around like so: (| '(some data)) So I can type the next thing: (get-string| '(some data)) Press it again: (| (get-string '(some-data))) And so on. That way, even though the code is visually nested, I can write it in logical order from what eval first to what e…
Earlier quoted context omitted.
how do you write it in other languages? sin(cos(10.4)); or v = 10.4; c = cos(v); s = sin(c); in Lisp one might write: (let* ((v 10.4) (c (cos v))) (sin c)) really old style: (prog (v c s) (setq v 10.4) (setq c (cos v)) (setq s (sin c)) s)
Why not write it as in lisp as: (sin (cos 10.4))
After this book, I picked up "Practical Common Lisp" (going through that one at the moment).
So far, I found LoL to suit me less than a more traditional book like PCL, but it did help me actually get a sense of LISP.
Also, the song is catchy.. Simple but refined guaranteed to blow your mind... the land of lisp ;-)
This book is well worn, dog eared, and on my home office book shelf. While many people criticize it, for legitimate reasons, it is still a fun and wonderful journey through Common Lisp. I wish more books were written in this irreverent and whimsical style. If however you want a more traditional and "from zero" introduction to Lisp, then "Common LISP - A Gentle Introduction to Symbolic Computation"[0] may be better. I…
I second the recommendation for Practical Common Lisp, even for complete beginners and newcomers to Lisp. It covers the very basics, and the writing style is accessible and patient.