Cover art for Racket Programming The Fun Way
Published
No Starch, October 2020
ISBN
9781718500822
Format
Softcover, 360 pages
Dimensions
23.4cm × 17.7cm

Racket Programming The Fun Way From Strings to Turing Machines

Not in stock
Fast $7.95 flat-rate shipping!
Only pay $7.95 per order within Australia, including end-to-end parcel tracking.
100% encrypted and secure
We adhere to industry best practice and never store credit card details.
Talk to real people
Contact us seven days a week – our staff are here to help.

An introduction to the Racket functional programming language and DrRacket development environment to explore topics in mathematics (mostly recreational) and computer science.

An introduction to the Racket functional programming language and DrRacket development environment to explore topics in mathematics (mostly recreational) and computer science.

At last, a lively guided tour through all the features, functions, and applications of the Racket programming language. You'll learn a variety of coding paradigms, including iterative, object oriented, and logic programming; create interactive graphics, draw diagrams, and solve puzzles as you explore Racket through fun computer science topics--from statistical analysis to search algorithms, the Turing machine, and more.

Early chapters cover basic Racket concepts like data types, syntax, variables, strings, and formatted output. You'll learn how to perform math in Racket's rich numerical environment, and use programming constructs in different problem domains (like coding solutions to the Tower of Hanoi puzzle). Later, you'll play with plotting, grapple with graphics, and visualize data. Then, you'll escape the confines of the command line to produce animations, interactive games, and a card trick program that'll dazzle your friends.

You'll learn how to-

. Use DrRacket, an interactive development environment (IDE) for writing programs

. Compute classical math problems, like the Fibonacci sequence

. Generate two-dimensional function plots and create drawings using graphics primitives

. Import and export data to and from Racket using ports, then visually analyze it

. Build simple computing devices (pushdown automaton, Turing machine, and so on) that perform tasks

. Leverage Racket's built-in libraries to develop a command line algebraic calculator

Racket Programming the Fun Way is just like the language itself--an embodiment of everything that makes programming interesting and worthwhile, and that makes you a better programmer.

Related books