Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On a separate note, Guy Steele's Common Lisp Book is awesome. https://www.cs.cmu.edu/Groups/AI/html/cltl/cltl2.html

It's a bit of a regret for me that it was always a hobby thing and my career never took me in a direction where I would have got to use it in a professional capacity.



I also loved his C Reference manual. Dry jokes funny but educational examples like, this example of micro-optimization.

>here is an example of how good intentions can lead to chaos:

    switch(x)
         default:
         if (prime(x))
            case 2: case 3: case 5: case 7:
              process_prime(x);
         else
            case 4: case 6: case 8: case 9: case 10:
              process_composite(x);

>This is, frankly, the most bizarre switch statement we have ever seen that still pretenses to be purposeful


I love all the dry jokes in it. Just scattered thither and yon like it was a children's book, easter eggs found in the most unlikely places.


Do you know if it's common to read CLTL2 from front to back, or just use it strictly as a reference?


It's probably better to read it front to back because CLTL2 isn't 1994 standard Common Lisp.


Right, CLTL2 doesn't conform to the ansi spec. I just wonder if it's common to read all the way through, or as a reference in addition to CLHS, to maybe get some additional perspective on why a feature is a certain way, etc ...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: