top | item 5900067

Realm of Racket

152 points| Bootvis | 12 years ago |nostarch.com | reply

57 comments

order
[+] tsm|12 years ago|reply
I'm a Common Lisp programmer, and am beginning to get tired of phrases like "But while Racket retains the functional goodness of Lisp, ...". It's becoming increasingly dishonest to peddle Lisp as a functional language that stands in contrast to, say, Ruby or Python or what have you. Yes, Lisp has very functional roots. But that was fifty years ago. The Lisp of the past two or three decades is fully multi-paradigmatic. It supports a functional style, but it supports other styles (object-oriented, imperative, ...) just as well if not better. Haskell is functional. ML is functional. Heck, Clojure is functional. If my only attraction to Lisp was FP I'd be using one of those languages instead.

That said, lest I be perceived as too negative, I am very excited that this book is being published. Racket has always stricken me as very clean and friendly (two adjectives less applicable to CL), and advancing Lisp enthusiasm in any form is never a bad thing. Cheers!

[+] gcr|12 years ago|reply

    The Lisp of the past two or three decades is
    fully multi-paradigmatic. It supports a
    functional style...
Then, by your definition, it's not dishonest to say that "Racket retains the functional goodness of Lisp."

I don't understand. What's the problem?

[+] gus_massa|12 years ago|reply
In Scheme and Racket it's more idiomatic to use the functional version. It isn't enforced by the language. For example you can use imperative code locally but usually try to enclose that in an apparent functional procedure.

In particular, a few years ago the Racket team made many structures immutable, to promote functional code and enable some optimizations. The language has the mutable versions, so you can use them if you like.

[+] shaunxcode|12 years ago|reply
Apparently on sale today with coupon code RACKETEERS making it like 23.97 for both print and ebook! I feel like I am a marketing shill or something but for real that is a great deal and I have been looking for a racket/scheme book to use for teaching!

edit To follow up - got the book and have been reading through it. Already super impressed with the tone, pictures, lisp history lesson, and particularly the cartoon of guy and gerry!

[+] syntacticsugar|12 years ago|reply
This is totally mega uber awesome as I am br0k3 right now and this saved me mega $$$$$. TY Shaun. My code mate Luis Borjas will appreciate this also. Maybe I should even forward this to the Hacker School students.
[+] cosmez|12 years ago|reply
Thanks for the code, it saved me the entire shipping cost!
[+] Nekorosu|12 years ago|reply
hey! thanks. $19.17 for ebook only.
[+] brudgers|12 years ago|reply
The best way to describe Racket is as an ecosystem. The analogy I would make:

   EMACS : text editor
   Racket : programming language
This is to say that Racket comes with enough batteries to make it a platform...or at least Racket is striving to achieve cradle-to-grave coverage. It doesn't just come with tutorials, but a complete programming course - How to Design Programs.

It comes with tools for building languages, creating presentations, and writing documents. No email, though (yet).

Racketeers are eating their own dog food. The Racket Way video gives a good introduction: http://www.infoq.com/presentations/Racket

[+] incision|12 years ago|reply
Nice.

No Starch is probably my current favorite tech book publisher, I've yet to run across anything less than great under their label and I've been using DrRacket recently to work through SICP.

[+] omaranto|12 years ago|reply
There's a new release of Racket to go along with the book. It comes with a library ("collection" in racket-speak) with the source code of the book examples. http://blog.racket-lang.org/2013/06/racket-v535.html
[+] derengel|12 years ago|reply
yeah :)

I couldn't resist getting on with the ebook yesterday and noticed my 5.3.4 install didn't have the realm dir.

[+] mxBug|12 years ago|reply
Aha !! Finally a Racket book that my pupils will pay attention to...

They've complained that textbooks and courses often don't teach how to build anything directly useful, but video games? Suddenly, no holds barred.

[+] binarycrusader|12 years ago|reply
As someone that bought and thoroughly enjoyed the "Land of Lisp", is there a point to also buying this book?

Is Racket so much better that it's worth learning compared to Haskell, Erlang, Go, etc. ?

Can someone comment on what unique insight or benefit I might gain from learning Racket and from this book?

[+] kaoD|12 years ago|reply
If you're going to put the effort, I'd choose Clojure. It's still a Lisp but a lot less awkward than most dialects and has a very rich ecosystem (and Java interop, which is both good and bad).
[+] Mikeb85|12 years ago|reply
Just like Land of Lisp (also written by Conrad Barski). Not a bad thing.
[+] muuh-gnu|12 years ago|reply
It is not just like Land of Lisp, it seems to be just Land of Lisp ported to Racket by a group of students supervised by Conrad Barski and Matthias Felleisen. Barski and Felleisen arent even credited as the primary authors of the book.
[+] Nekorosu|12 years ago|reply
The site states "PDF, Mobi, and ePub" but I can see only pdf download link. I'm a little disappointed.
[+] Nekorosu|12 years ago|reply
I'm happy now. The links to ePub and Mobi will follow soon.
[+] psutor|12 years ago|reply
"Land of Lisp" is actually what turned me on to PG/HN/startups a few years ago. I believe there was a passing mention of PG somewhere near the beginning and that got me started reading essays.

I am very excited for this book as I do prefer the cleanliness of Scheme to CL.

[+] raphinou|12 years ago|reply
Looks interesting indeed. However, i am not sure i will buy it due to the price of the ebook-only option, which is what i am interested in.
[+] systems|12 years ago|reply
the book website/author claims racket to be "the most unique programming language in the world"?

Is it really, I know that racket is a scheme implementation, I thought scheme is to lisp what java is to c++, a saner less powerful version

http://realmofracket.com/about.html

[+] gecko|12 years ago|reply
I actually get where the author's coming from.

While it's tempting to think of Racket as a Scheme implementation, and that was at one time true, the situation these days is quite different. It's a lot more accurate to say that Racket ships with a Scheme-like default language (and an actual R5RS-compatible Scheme), but that it's actually a wonderful language toolkit. Racket has the ability for individual modules to use their own syntax. Not macros; full-fledged syntax. Racket ships with several Lisp-like syntaxes, but it also ships with Datalog and ALGOL-68. And this is very much unique to Racket.

[+] dragonwriter|12 years ago|reply
> Is it really, I know that racket is a scheme implementation

Racket is not a Scheme implementation, which is one of the reasons it is now called "Racket" (Scheme used to be part of its name.)

It is a Lisp dialect that is "a descendant of Scheme". The Racket distribution includes support for a variety of different languages (including implementations of R5RS and R6RS Scheme), but the Racket language is not a Scheme implementation.

[+] mnbvcxza|12 years ago|reply
It's got standard macros, plus all of the other "languages" that come with it, like Algol, Typed Scheme, Lazy Scheme, Honu?, and others, plus the ability to make it run languages of your own design. So, I would agree with that. Maybe not if you're strictly talking about the main language "Racket" that's run by the Racket VM.
[+] mjt0229|12 years ago|reply
What does "most unique" even mean? Unique is by definition singular, is it not?
[+] ripter|12 years ago|reply
The EBook is a PDF if you buy the combo. I wouldn't have bought it if I resized that.
[+] tylero|12 years ago|reply
We'll be posting the EPUB and MOBI files shortly. You'll get those soon.
[+] Bootvis|12 years ago|reply
The website states that epub and mobi will be available soon. I assume that it will be made available to early buyers.
[+] nixpulvis|12 years ago|reply
Excited to buy this book and start seeing peers using it. Well done guys.