-
Book Overview & Buying
-
Table Of Contents
Supercharged Coding with GenAI
By :
So far in the book, we have mostly explored code snippets that are limited to a single Python file. In this chapter, we will shift our focus and see how GenAI tools can support us in reading and understanding a broader code base.
Getting to know a code base usually involves reading through a variety of files. For instance, when a developer encounters a new project, they might do the following:
Explore entry points such as main.py or app.py
Identify the main project files, often found in a /src directory
Look for container and dependency management files such as Dockerfile and requirements.txt
Experiment with specific parts of the code
In this book’s repository, we provide a small code base example located under ch7/. Here is a directory tree view of its contents:
ch7/
├── app.py
├── src/
│ └── manhattan.py
├──...