Code to Joy: Why Everyone Should Learn a Little Programming

  • 4h 19m
  • Michael L. Littman
  • The MIT Press
  • 2023

How we can get more joy from our machines by telling them what our hearts desire.

In this informative, accessible, and very funny book, Michael L. Littman inspires readers to learn how to tell machines what to do for us. Rather than give in to the fear that computers will steal our jobs, spy on us and control what we buy and whom we vote for, we can improve our relationship with them just by learning basic programming skills. Our devices will help us, Littman writes, if we can say what we want in a way they can understand.

Each chapter of the book focuses on a particular element of what can be said, providing examples of how we use similar communication in our daily interactions with people. Littman offers ways readers can experiment with these ideas right away, using publicly available systems that might also make us more productive as a welcome side effect. Each chapter also reflects on how the use of these programming components can be expedited by machine learning. With humor and teacherly guidance, Code to Joy brings into view a future where programming is like reading—something everyone can learn.

About the Author

Michael L. Littman is University Professor of Computer Science at Brown University and holds an adjunct position with the Georgia Institute of Technology College of Computing. He was selected by the American Association for the Advancement of Science as a Leadership Fellow for Public Engagement with Science in Artificial Intelligence.

In this Book

  • Telling Computers What to Do—I've Got You
  • The What of Programming—Allow Me to Introduce Myself
  • Sequencing Commands—I'll Take Your Order Now
  • Splitting on Conditionals—If That's What You Want!
  • Storing in Variables—It's What I Stand for
  • Consolidating into Loops—You Don't Have to Tell Me Twice
  • Defining Functions—Call Me by Your Name
  • Combining Code and Data—Sure, but Can You Give Me an Example?
  • Programmable World—As You Wish

YOU MIGHT ALSO LIKE

Rating 4.7 of 114 users Rating 4.7 of 114 users (114)
Rating 4.8 of 66 users Rating 4.8 of 66 users (66)