THE NATURE OF CODE

Credits

THE NATURE OF CODE.

Copyright © 2024 by Daniel Shiffman.

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

Some rights reserved.

When attributing this work, you must credit the author as follows: “Daniel Shiffman, published by No Starch Press® Inc.,” provide a link to the license, and indicate if changes were made. You may not use the material for commercial purposes. For ShareAlike purposes, if you transform or build upon the material, you must distribute your contributions under the same license as the original.

Translations of this work are not covered under this license; all translation rights are reserved by the publisher. For permission to translate this work, please contact rights@nostarch.com.

Moral rights of the author have been asserted.

Printed in China

First printing

28 27 26 25 24 1 2 3 4 5

ISBN-13: 978-1-7185-0370-0 (print)
ISBN-13: 978-1-7185-0371-7 (ebook)

® Published by No Starch Press®, Inc.
245 8th Street, San Francisco, CA 94103
phone: +1.415.863.9900
www.nostarch.com; info@nostarch.com

Publisher: William Pollock
Managing Editor: Jill Franklin
Production Manager: Sabrina Plomitallo-González
Production Editor: Jennifer Kepler
Developmental Editor: Nathan Heidelberger
Illustrator: Zannah Marsh
Cover Design: Tuan Huang
Interior Design: Tuan Huang and Jason Gao
Technical Reviewer: Jasper Palfree
Copyeditor: Sharon Wilkey
Proofreader: Audrey Doyle
Indexer: BIM Creatives, LLC

Library of Congress Control Number: 2023053620

For permissions beyond the scope of this license or customer service inquiries, please contact info@nostarch.com. For information on distribution, bulk sales, or corporate sales: sales@nostarch.com. To report counterfeit copies or piracy: counterfeit@nostarch.com.

No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press, Inc. Other product and company names mentioned herein may be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.

The information in this book is distributed on an “As Is” basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor No Starch Press, Inc. shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it.

Image Credits

All emojis in the book are from OpenMoji, the open source emoji and icon project, and licensed under CC BY-SA 4.0.

Chapter 0: Pages 314–315 from A Million Random Digits with 100,000 Normal Deviates, RAND Corporation, MR-1418-RC, 2001. As of October 17, 2023.

Chapter 1: Courtesy of Jim Heaphy, used under CC BY-SA 3.0.

Chapter 2: © Ezra Stoller/Esto, used with permission.

Chapter 3: © Bridget Riley 2023, all rights reserved.

Chapter 4: Courtesy of Carl D. Anderson, public domain.

Chapter 5: Courtesy of the US National Oceanic and Atmospheric Administration photo library, public domain.

Chapter 6: Courtesy of Arshiya Urveeja Bose, used under CC BY 2.0.

Chapter 7: Courtesy of ZSM, used under CC BY-SA 3.0.

Chapter 7, Figure 7.18: Courtesy of Richard Ling, used under CC BY-SA 3.0.

Chapter 8: Courtesy of Saad Akhtar, used under CC BY 2.0.

Chapter 9: Courtesy of the National Park Service, public domain.

Chapter 10: Courtesy of Pi3.124, used under CC BY-SA 4.0.

Chapter 10, Figure 10.15: Courtesy of Suvanjanprasai, used under CC BY-SA 4.0.

Chapter 11: Courtesy of the New York Public Library, public domain.