HN Books @HNBooksMonth

The best books of Hacker News.

Hacker News Comments on
Realm of Racket: Learn to Program, One Game at a Time!

Matthias Felleisen, David Van Horn, Conrad Dr. Barski, Northeastern University Students · 3 HN comments
HN Books has aggregated all Hacker News stories and comments that mention "Realm of Racket: Learn to Program, One Game at a Time!" by Matthias Felleisen, David Van Horn, Conrad Dr. Barski, Northeastern University Students.
View on Amazon [↗]
HN Books may receive an affiliate commission when you make purchases on sites after clicking through links on this page.
Amazon Summary
Racket is a descendant of Lisp, a programming language renowned for its elegance, power, and challenging learning curve. But while Racket retains the functional goodness of Lisp, it was designed with beginning programmers in mind. Realm of Racket is your introduction to the Racket language. In Realm of Racket, you'll learn to program by creating increasingly complex games. Your journey begins with the Guess My Number game and coverage of some basic Racket etiquette. Next you'll dig into syntax and semantics, lists, structures, and conditionals, and learn to work with recursion and the GUI as you build the Robot Snake game. After that it's on to lambda and mutant structs (and an Orc Battle), and fancy loops and the Dice of Doom. Finally, you'll explore laziness, AI, distributed games, and the Hungry Henry game. As you progress through the games, chapter checkpoints and challenges help reinforce what you've learned. Offbeat comics keep things fun along the way. As you travel through the Racket realm, you'll: –Master the quirks of Racket's syntax and semantics –Learn to write concise and elegant functional programs –Create a graphical user interface using the 2htdp/image library –Create a server to handle true multiplayer games Realm of Racket is a lighthearted guide to some serious programming. Read it to see why Racketeers have so much fun!
HN Books Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this book.
DrRacket? (https://racket-lang.org)

That is what I gave my mom when she asked what she could try programming on. It features a simple whole window editor/repl where you can get straight into business.

What failed was the supporting literature. I thought Realm of Racket would have been ideal for self-study but it did assume more background than she had...

https://www.amazon.com/Realm-Racket-Learn-Program-Game/dp/15...

Oct 22, 2015 · truncate on Tech Prep by Facebook
In my opinion a modern equivalent of messing with programming at school would be Racket. There are couple of awesome books `Realm of Racket`[1] and `How to Design Program`. Realm of Racket introduce programming by writing games. Its actually very easy to write interactive programs with this framework called big-bang. Matthias Felleison recently spoke about it on Strange Loop[3]

Unlike BASIC though, Racket no toy language. It's very powerful and expressive. Its a Scheme dialect btw.

I occasionally spend some time contributing to a Racket-JS compiler called Whalsong. Whatever games you write in Racket using big-bang can run on your browser. Checkout some examples here http://bigbang.ccs.neu.edu/search?q=%23stevelikes

[1] http://www.amazon.com/Realm-Racket-Learn-Program-Game/dp/159...

[2] http://www.ccs.neu.edu/home/matthias/HtDP2e/

[3] https://www.youtube.com/watch?v=ayoofXuKqMY

The classic systems were worlds ahead of most modern ones in one very important respect: documentation.

The Tandy/Radio Shack books for the Color Computer series (and it's astoundingly good LOGO implementation) were amazingly clear and concisely written with lots of examples, and because in those days even a disk drive wasn't a guarantee, all the examples were written to be hand-typed and experimented with.

There were even books in those days that aimed to teach kids machine language! [1]

That said, I think Djikstra and Felleisen may be slightly right about the long-term usefulness of old-fashioned BASIC and LOGO for learning, but there are a few books in modern languages that come close.

Hello World![2] was explicitly written to hearken back to those old manuals, by a father aiming to teach his 12-yo son programming with Python.

Land of Lisp[3] and Realm of Racket[4] also call to mind those old books as well, though they're targeting a bit older audience and have their quirks (LoL is a bit in-love with huge nested trees and a-lists in the examples, and Realm of Racket tends to gloss over a lot of the examples and expects you to just read the sample code rather than walking you through the process completely).

The Little Schemer[5] is also a fantastic little book that takes on the form almost of a set of brain-teasers, and teaches recursive thinking entirely by example and in methodical detail. The later chapters can be a bit stumpy, but if you go through the book step by step in regular sessions it builds on itself pretty well.

All of these are aiming at around the 12+ age range though, I don't think there's much out there anymore for anything younger.

[1] http://boingboing.net/2013/05/16/1983s-wonderful-introducti....

[2] http://www.amazon.com/Hello-World-Computer-Programming-Begin...

[3] http://www.amazon.com/Land-Lisp-Learn-Program-Game/dp/159327...

[4] http://www.amazon.com/Realm-Racket-Learn-Program-Game/dp/159...

[5] http://www.amazon.com/Little-Schemer-Daniel-P-Friedman/dp/02...

HN Books is an independent project and is not operated by Y Combinator or Amazon.com.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.