Software Craftsmanship Using AI
eBook - ePub

Software Craftsmanship Using AI

Practical guide for using LLMs in writing, reviewing and testing code (English Edition)

  1. 262 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Software Craftsmanship Using AI

Practical guide for using LLMs in writing, reviewing and testing code (English Edition)

About this book

Description
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.

Key Features
? Using AI tools to enhance your development process, from code generation to testing.
? Build a real-world "Nutrition Advisor" application from start to finish, applying the concepts and techniques learned throughout the book.
? Discover how to write clean, maintainable code using SOLID principles.

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.

Who this book is for
This book is intended for software developers, aspiring programmers, and students in computer science or related fields who have a basic understanding of programming concepts and are eager to deepen their knowledge of software design principles and best practices.

Table of Contents
1. Clean Functions
2. Object Oriented Programming
3. SOLID Principles
4. Design Patterns
5. Unit Testing
6. Building a Web API
7. ChatGPT Integration to WebAPI
8. Clean Architecture
9. Continuous Integration
10. Continuous Deployment
Appendix A: Final Thoughts
Appendix B: Cheat Sheet

Information

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. Acknowledgement
  7. Preface
  8. Table of Contents
  9. 1. Clean Functions
  10. 2. Object Oriented Programming
  11. 3. SOLID Principles
  12. 4. Design Patterns
  13. 5. Unit Testing
  14. 6. Building a Web API
  15. 7. ChatGPT Integration to WebAPI
  16. 8. Clean Architecture
  17. 9. Continuous Integration
  18. 10. Continuous Deployment
  19. Appendix A: Final Thoughts
  20. Appendix B: Cheat Sheet
  21. Index

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Software Craftsmanship Using AI by Almantas Karpavičius in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over 1.5 million books available in our catalogue for you to explore.