Live data from Hacker News

The Common Lisp Cookbook

lispcookbook.github.io

21–28 of 28 posts

Re: The Common Lisp Cookbook

#21
post #9
post #2

Hi! I'm one of the (less active) maintainers. Four years ago I migrated the CL cookbook from sourceforge where it'd been gently resting for quite a few years (nearly a decade), and put it onto github, put together a CI system, and away it went. A few volunteers have been diligently working away on improving it, particularly `vindarel`, who has really taken the lead for content work in the last couple years as I've be…

Congratulations on the efforts. Is there any way to also get an epub out of it?

not offhand. I really should sit down and examine that in relation to our build pipeline.

Re: The Common Lisp Cookbook

#22

For a Vim user, what is a good plugin to provide SLIME like paredit and REPL capabilities for programming in Common Lisp? Is there a clear winner plugin in Vim like there is SLIME for Emacs?

Steve Losh in his already-classic CL blog post [^1] suggests either Vlime or Slimv, quote: „If you’re like me and already have Vim burned too deeply into your fingers to ever get it out, I’d recommend Vim with Vlime. It will give you 80% of the experience you’ll get with Emacs.” If you want 100% of SLIME goodness without sacrificing vim, try spacemacs [^2]. I switched about two years ago and am very happy. [1]: http:…

I'm in the process of switching after many years of using vim, and it’s been incredible so far. Spacemacs really is like vim, only with way more features out of the box, and way better discoverability, so it's really quick to get up to speed.

Re: The Common Lisp Cookbook

#23

Earlier quoted context omitted.

Steve Losh in his already-classic CL blog post [^1] suggests either Vlime or Slimv, quote: „If you’re like me and already have Vim burned too deeply into your fingers to ever get it out, I’d recommend Vim with Vlime. It will give you 80% of the experience you’ll get with Emacs.” If you want 100% of SLIME goodness without sacrificing vim, try spacemacs [^2]. I switched about two years ago and am very happy. [1]: http:…

> If you want 100% of SLIME goodness without sacrificing vim, try spacemacs. Or just Evil + Evil-collection. Spacemacs is pretty bloated.

I have not heard before about evil-collection. I have thought about having a custom setup, but my .spacemacs has grown a bit, so it's going to be a major work. I will try it at some point, just to check my elisp-fu

Thanks for the tip!

Re: The Common Lisp Cookbook

#24
post #2

Hi! I'm one of the (less active) maintainers. Four years ago I migrated the CL cookbook from sourceforge where it'd been gently resting for quite a few years (nearly a decade), and put it onto github, put together a CI system, and away it went. A few volunteers have been diligently working away on improving it, particularly `vindarel`, who has really taken the lead for content work in the last couple years as I've be…

Love seeing a Lisp Cookbook pop up on HN. Had a general question about CL. What advantages does it have over things like Racket and Chicken? And how could I potentially pitch the language to a non-dev?

Upsides: Many muture implementations both commercial and opensource (SBCL, LispWorks, Franz Lisp).

Can be very fast.

Less opinionated than Scheme/Racket. Supports FP, imperative, and OOP.

Supports system images where you can hack on running images to avoid downtime. Racket doesn’t support this.

Great debugging from the REPL.

Probably the most advanced exception/error system of any language.

Easy to learn (and powerful) macros.

ANSI standardized.

Powerful object system.

Downsides: Dynamic typing (some people might not have a problem with this).

No match statements.

Huge and complicated standard. Many unnecessary and unused/dead features.

Inconsistent and not orthogonal in the least. Multiple functions that do the same thing but have different argument orders or inconistent names.

A little low level compared to Racket. This might be a positive if you want C-like performance.

Not the greatest libraries compared to Racket. Documentation is often bad or non-existent.

Hard to learn effectively. Language gives little guidance on how it should be used.

Re: The Common Lisp Cookbook

#25

For a Vim user, what is a good plugin to provide SLIME like paredit and REPL capabilities for programming in Common Lisp? Is there a clear winner plugin in Vim like there is SLIME for Emacs?

Serious suggestion: http://spacemacs.org/ > The best editor is neither Emacs nor Vim, it's Emacs and Vim!

Offtopic, but I’ve been using Emacs for ages and my fingers hurt.

Are vi keybindings better. Can I edit things more quickly?

Re: The Common Lisp Cookbook

#26
post #25

Earlier quoted context omitted.

Serious suggestion: http://spacemacs.org/ > The best editor is neither Emacs nor Vim, it's Emacs and Vim!

Offtopic, but I’ve been using Emacs for ages and my fingers hurt. Are vi keybindings better. Can I edit things more quickly?

Yes absolutely.

http://wikemacs.org/wiki/Evil

For a spacemacs experience, see also which-key-mode.

Re: The Common Lisp Cookbook

#27
post #24

Earlier quoted context omitted.

Love seeing a Lisp Cookbook pop up on HN. Had a general question about CL. What advantages does it have over things like Racket and Chicken? And how could I potentially pitch the language to a non-dev?

Upsides: Many muture implementations both commercial and opensource (SBCL, LispWorks, Franz Lisp). Can be very fast. Less opinionated than Scheme/Racket. Supports FP, imperative, and OOP. Supports system images where you can hack on running images to avoid downtime. Racket doesn’t support this. Great debugging from the REPL. Probably the most advanced exception/error system of any language. Easy to learn (and powerfu…

There's the very good Trivia library for pattern matching: https://lispcookbook.github.io/cl-cookbook/pattern_matching....

(and I think libraries are better maintained that Racket's)

Re: The Common Lisp Cookbook

#28
post #25

Earlier quoted context omitted.

Serious suggestion: http://spacemacs.org/ > The best editor is neither Emacs nor Vim, it's Emacs and Vim!

Offtopic, but I’ve been using Emacs for ages and my fingers hurt. Are vi keybindings better. Can I edit things more quickly?

I'm not sure I can say, as I learned Vim before Emacs. But you'll definitely have less chance of RSI
Post reply on HN