Skip to content

tiennh93/Software-Craftsmanship-Using-AI

 
 

Repository files navigation

Software Craftsmanship Using AI

Practical guide for using LLMs in writing, reviewing and testing code.

This is the repository for Software Craftsmanship Using AI ,published by BPB Publications.

About the Book

This book is a workshop to create software using AI. A reader will be taken through a series of requirements and create a practical API from scratch. AI is without a doubt a productivity boost, and our goal is to help you maximize the boost by writing prompts effectively to generate, refactor, test, and review code.

This book is also a modern take on software design fundamentals. To be able to scrutinize AI-generated code and to be able to guide AI effectively to better results, one should understand the theory behind software design. It starts with basics like clean function design and object-oriented principles, then advances to SOLID principles, design patterns, and Onion architecture. Readers will learn essential testing methods, including unit, integration, and acceptance tests using BDD and Specflow. The guide covers API development, focusing on security, validation, error handling, and external system integration. It also explains CI/CD pipelines using Azure DevOps, including build and deployment pipelines with YAML configurations.

Lastly, this book teaches us to embrace the changes in software requirements. The end goal is to teach a reader how to implement changes in software with minimum change to existing lines of code.You will be well-equipped to leverage AI as a valuable asset in your software development toolbox.

What You Will Learn

• The fundamentals of software design like KISS, OOP, SOLID, and key design Patterns.

• Use Effective prompt engineering for generating code, refactoring, testing, and reviewing.

• Code review both for human and AI-generated code.

• Design which minimizes changes when new requirements are introduced.

• Build .NET REST Web API with tests.

• Build CI/CD pipelines to deploy to Azure.

About

Software Craftsmanship Using AI, by BPB Publications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%