Book description
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.
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Dedication
- About the Author
- About the Technical Reviewer
- BRIEF CONTENTS
- CONTENTS IN DETAIL
- ACKNOWLEDGMENTS
- INTRODUCTION
- 1 RACKET BASICS
- 2 ARITHMETIC AND OTHER NUMERICAL PARAPHERNALIA
- 3 FUNCTION FUNDAMENTALS
- 4 PLOTTING, DRAWING, AND A BIT OF SET THEORY
- 5 GUI: GETTING USERS INTERESTED
- 6 DATA
- 7 SEARCHING FOR ANSWERS
- 8 LOGIC PROGRAMMING
- 9 COMPUTING MACHINES
- 10 TRAC: THE RACKET ALGEBRAIC CALCULATOR
- A NUMBER BASES
- B SPECIAL SYMBOLS
- BIBLIOGRAPHY
- INDEX
Product information
- Title: Racket Programming the Fun Way
- Author(s):
- Release date: January 2021
- Publisher(s): No Starch Press
- ISBN: 9781718500822
You might also like
book
The Go Programming Language
is the authoritative resource for any programmer who wants to learn Go. It shows how to …
video
Ultimate Go Programming, Second Edition
An updated edition of this video title is available. Please go to Ultimate Go: Advanced Concepts …
book
C++20 for Programmers: An Objects-Natural Approach, 3rd Edition
The professional programmer's Deitel® guide to C++20 "C++20 for Programmers builds up an intuition for modern …
book
Effective Modern C++
Coming to grips with C++11 and C++14 is more than a matter of familiarizing yourself with …