Cargando…

Regular expression puzzles and AI coding assistants : 24 puzzles solved by the author, with and without assistance from Copilot, ChatGPT and more /

Learn how AI-assisted coding using ChatGPT and GitHub Copilot can dramatically increase your productivity (and fun) writing regular expressions and other programs. Regular Expression Puzzles and AI Coding Assistants is the story of two competitors. On one side is David Mertz, an expert programmer an...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Mertz, David (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Shelter Island, NY : Manning Publications, [2023]
Edición:[First edition].
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • inside front cover
  • Regular Expression Puzzles and AI Coding Assistants
  • Copyright
  • contents
  • front matter
  • preface
  • acknowledgments
  • about this book
  • Who should read this book
  • Obtaining the tools used in this book
  • Credits
  • liveBook discussion forum
  • about the author
  • about the cover illustration
  • 1 The map and the territory
  • About regular expressions
  • Rise of the programming machines
  • Caveats
  • Intentional software development
  • As you read
  • 2 Quantifiers and special sub-patterns
  • Puzzle 1 Wildcard scope
  • Author thoughts What will each pattern match?
  • AI thoughts CodingNet
  • Puzzle 2 Words and sequences
  • Author thoughts Think about what defines word boundaries
  • AI thoughts The transformator
  • Puzzle 3 Endpoint classes
  • Author thoughts Refine the regular expression to match what we want
  • AI thoughts Are friends electric?
  • Puzzle 4 A configuration format
  • Author thoughts Remember that shapes have edges
  • AI thoughts Notes from the Cyberdyne vault
  • Puzzle 5 The Human Genome
  • Author thoughts Remember the central dogma of molecular biology
  • AI thoughts Do androids dream of electric sheep?
  • 3 Pitfalls and sand in the gears
  • Puzzle 6 Catastrophic backtracking
  • Author thoughts Try hard to avoid catastrophes
  • AI thoughts Technological singularity
  • Puzzle 7 Playing dominoes
  • Author thoughts Try to be more efficient than your first thought
  • AI thoughts A war with sticks and stones
  • Puzzle 8 Advanced dominoes
  • Author thoughts Thoughts about digrams are always pleasant thoughts
  • AI thoughts How many readers can pass the Turing Test?
  • Puzzle 9 Sensor art
  • Author thoughts Find a matching pattern, if possible
  • AI thoughts My mind is going
  • I can feel it
  • 4 Creating functions using regexen
  • Puzzle 10 Reimplementing str.count()
  • Author thoughts How can a regex count the substring occurrences?
  • AI thoughts Extraordinary machine
  • Puzzle 11 Reimplementing str.count() (stricter)
  • Author thoughts Write a Python function with the restrictions given
  • AI thoughts The Horars of War
  • Puzzle 12 Finding a name for a function
  • Author thoughts Code is read far more often than it is written
  • AI thoughts There are two hard problems in computer science
  • Puzzle 13 Playing poker (Part 1)
  • Author thoughts Functions are a big help in larger programs
  • AI thoughts He can't read my poker face
  • Puzzle 14 Playing poker (Part 2)
  • Author thoughts Large buildings are built from small bricks
  • AI thoughts The society for preventing cruelty to humans
  • Puzzle 15 Playing poker (Part 3)
  • Author thoughts You better cheat, cheat, if you can't win
  • AI thoughts Someday machines will learn to count
  • Puzzle 16 Playing poker (Part 4)
  • Author thoughts You might risk identifying the "dead man's hand"
  • AI thoughts Free will is not free
  • Puzzle 17 Playing poker (Part 5)