Regular Expression Puzzles and AI Coding Assistants: 24 puzzles solved by the author, with and witho
David Mertz
Résumé
"How these tools can be both so very amazing in what they produce, and simultaneously so utterly doltish in their numerous failures, is the main thing this book tries to understand. For reasons I attempt to elucidate throughout, of all the domains of computer programming, games with regular expressions are particularly well suited for getting a grasp on the peculiar behaviors of AI."
From the Preface
For programmers of any experience level - no experience with AI coding tools is required.
Regular Expression Puzzles and AI Coding Assistants is the story of two competitors. On the one side is David Mertz, an expert programmer and the author of the Web's most popular Regex tutorial. On the other are the AI powerhouse coding assistants, GitHub Copilot and OpenAI ChatGPT.
Here's how the contest works: David invents 24 Regex problems he calls puzzles and shows you how to tackle each one. When he's done he has Copilot and ChatGPT work the same puzzles. What they produce intrigues him. Which side is likelier to get it right? Which will write simple and elegant code? Which one makes the smartest use of lesser-known Regex library features? Read the book to find out.
David also offers AI best practices, showing how smart prompts return better results. By the end, you'll be a master at solving your own Regex puzzles, whether you use AI or not.
About the technology
Ground-breaking large language model research from OpenAI, Google, Amazon, and others, have transformed expectations of machine-generated software. But how do these AI assistants, like ChatGPT and GitHub Copilot, measure up against regular expressions-a workhorse technology for developers used to describe, find, and manipulate patterns in the text? Regular expressions are compact, complex, and subtle. Will AI assistants handle the challenge?
David Mertz is the founder of KDM Training and an acclaimed contributor to the Python community. He is also the author of The Puzzling Quirks of Regular Expressions , Cleaning Data for Effective Data Science: Doing the Other 80% of the Work , and other books.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Mannings publ. |
Auteur(s) | David Mertz |
Parution | 23/04/2023 |
Nb. de pages | 152 |
EAN13 | 9781633437814 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse