What is the best book for learning racket(scheme)?

Probably the most obvious question. Buy do i need a 1000 pager or a 100 pager ?
After a book you need to be productive ...

1 Like

On the scheme side, SICP is free (though long IIRC).

HTDP is perhaps slightly more intro to Racket + programming, but is
still one of the top recommendations (and is also free).

I'm sure Stephen has a wiki page or something with books :slight_smile:

2 Likes

Of course we have to ask you the question are you

  • a total novice who needs 10,000 page book
  • an experienced Common Lisper who might get away with a 50 pager?
3 Likes

Hi Alain! Welcome :grinning:

There is some good guidance on the getting started page on the Racket Documentation: Getting Started

This guidance covers both if you are new to programming or if you are already a programmer.

If you do have a background in programming then another approach might be to ask for examples of the sort of things you want to do with Racket?

Some peoples goals are educational; learning about functional programming, programming language design, or advanced programming language features.

Other people want to build something specific:

  • a native application (gui or command line)
  • Web application (server or client side)
  • a DSL or whole language
    …or something in between?

Either way, let us know what your goals are and we will do best to help you.

Best wishes
Stephen

PS

The Racket books page: Racket

2 Likes

Is the scan published with permission from the authors and/or publishers?

If I can’t get confirmation I’ll have to remove the post.

S.

MIT Press owns the copyright to these books, and they would be very very very unhappy if they found out.

Thank you for the clarification.
I have deleted the post.

Welcome, Alain! Nice to have you.

My recommendation would be The Little Schemer, Fourth Edition by our very own Daniel P. Friedman and Matthias Felleisen. It's light, breezy, and fun but also ends up covering some deep topics. The sequel, The Seasoned Schemer, Second Edition will take you on from there.

2 Likes

I don’t know. Did not think about the possibility it did not have permission.

Please remove the link.

Easy mistake to make. It is removed now. Don’t worry about it.

Thanks!!!

There's also The Scheme Programming Language. I worked through the first two chapters and a part of the third and like the book. I especially like that there are so many exercises, including example solutions.

To people having checked out "The Scheme Programming Language" and the combination "The Little Schemer"/"The Seasoned Schemer", how do the books by Dybvig and Friedman/Felleisen compare? What does one do better than the other? I'm wondering if it's worth it to buy the Friedman/Felleisen book(s) if I could otherwise (continue to) work through the Dybvig book.

2 Likes

I'll think i'll start with "the scheme programming language".
It's a bit chez oriented but probably ok for racket also ?

2 Likes