Details

Programming with GitHub Copilot


Programming with GitHub Copilot

Write Better Code--Faster!
Tech Today 1. Aufl.

von: Kurt Dowswell

46,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 27.06.2024
ISBN/EAN: 9781394263387
Sprache: englisch
Anzahl Seiten: 336

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<p><b>Accelerate your programming with the most popular AI coding tool on the market: GitHub Copilot</b> <p>In <i>Programming with GitHub Copilot: Write Better Code — Faster,</i> veteran software developer and GitHub community hero Kurt Dowswell delivers an insightful and hands-on exploration of GitHub's powerful, new AI coding assistant, Copilot. In the book, you'll discover how to use the tool's capabilities to push the boundaries of what you thought was possible in programming. <p>Even if you've used autocomplete tools—like VS Code's TabNine extension—before, you'll be floored by GitHub Copilot's potential to transform the way you code. You'll learn how to install, configure, and use the software, from employing it's most common and widely used features to deploying business and enterprise functionality. You'll even discover how to fix runtime and compilation bugs and write unit, integration, and end-to-end tests. <p>You'll also find: <ul> <li>Prompt strategies to get GitHub Copilot to help you brainstorm new code solutions</li> <li>What the future looks like for AI-assisted coding, including discussions of issues like code licensing and ethics</li> <li>Directions for chatting with Copilot, including common commands and prompts to help you guide the conversation to where you want it to go</li> </ul> <p>Perfect for practicing programmers, developers, and software engineers, <i>Programming with GitHub Copilot</i> is also an essential resource for coders and other IT practitioners-in-training who want to expand their knowledge and improve the scope and depth of their programming skillsets.
<p>Introduction xvii</p> <p><b>Part I Getting Started with GitHub Copilot 1</b></p> <p><b>Chapter 1 Get Started with GitHub Copilot 3</b></p> <p>Learn Why GitHub Copilot Matters 4</p> <p>Create a GitHub Account 4</p> <p>Acquire a GitHub Copilot License 4</p> <p>Install an IDE Extension 5</p> <p>First Run: Test Copilot 10</p> <p>Conclusion 15</p> <p>Reference 15</p> <p><b>Chapter 2 Decoding GitHub Copilot 17</b></p> <p>Uncover the AI Behind GitHub Copilot 17</p> <p>Understand Security, Privacy, and Data Handling 18</p> <p>Understand Copyright Protections 20</p> <p>Explore the GitHub Copilot Trust Center 21</p> <p>Conclusion 22</p> <p>References 22</p> <p><b>Part II GitHub Copilot Features in Action 23</b></p> <p><b>Chapter 3 Exploring Code Completions 25</b></p> <p>Introducing Code Completions 25</p> <p>Working with Copilot Code Completions 26</p> <p>Discovering the Toolbar and Panel 34</p> <p>Updating Copilot Settings 36</p> <p>Leveraging Keyboard Shortcuts 38</p> <p>Conclusion 40</p> <p><b>Chapter 4 Chatting with GitHub Copilot 41</b></p> <p>Discovering Copilot Chat 41</p> <p>Defining Prompt Engineering with Copilot Chat 48</p> <p>Commanding Your Conversation with Precision 52</p> <p>Conclusion 65</p> <p><b>Part III Practical Applications of GitHub Copilot 67</b></p> <p><b>Chapter 5 Learning a New Programming Language 69</b></p> <p>Introducing Language Education with Copilot 70</p> <p>Setting Up Your Development Environment 70</p> <p>Learning the Basics 72</p> <p>Creating a Console Application 74</p> <p>Explaining Code with Copilot 77</p> <p>Adding New Code 78</p> <p>Learning to Test 79</p> <p>Conclusion 85</p> <p>Reference 86</p> <p><b>Chapter 6 Writing Tests with Copilot 87</b></p> <p>Establishing the Example Project 87</p> <p>Adding Unit Tests to Existing Code 89</p> <p>Exploring Behavior-Driven Development with Copilot 94</p> <p>Conclusion 99</p> <p><b>Chapter 7 Diagnosing and Resolving Bugs 101</b></p> <p>Establishing the Example Project 101</p> <p>Fixing Syntax Errors 103</p> <p>Resolving Runtime Exceptions 105</p> <p>Resolving Terminal Errors 109</p> <p>Conclusion 111</p> <p><b>Chapter 8 Code Refactoring with Copilot 113</b></p> <p>Introducing Code Refactoring with Copilot 113</p> <p>Establishing the Example Project 114</p> <p>Refactoring Duplicate Code 116</p> <p>Refactoring Validators 122</p> <p>Refactoring Bad Variable Names 127</p> <p>Documenting and Commenting Code 129</p> <p>Conclusion 132</p> <p><b>Chapter 9 Enhancing Code Security 133</b></p> <p>Detailing Code Security 133</p> <p>Establishing the Example Project 134</p> <p>Exploring Code Security 135</p> <p>Finding and Fixing Security Issues 139</p> <p>Conclusion 142</p> <p><b>Chapter 10 Accelerating DevSecOps Practices 143</b></p> <p>Detailing DevSecOps 143</p> <p>Simplifying Containers 144</p> <p>Automating Infrastructure as Code 148</p> <p>Streamlining CI/CD Pipelines 152             </p> <p>Conclusion 158</p> <p><b>Chapter 11 Enhancing Development Environments with Copilot 159</b></p> <p>Amplifying Visual Studio with Copilot 159</p> <p>Elevating Azure Data Studio with Copilot 166</p> <p>Boosting JetBrains IntelliJ IDEA with Copilot 171</p> <p>Enhancing Neovim with Copilot 176</p> <p>Consulting Copilot in the GitHub cli 181</p> <p>References 185</p> <p>Conclusion 185</p> <p><b>Chapter 12 Universal Conversion with GitHub Copilot 187</b></p> <p>Translating Natural Language to Programming Languages 188</p> <p>Converting JavaScript Components 190</p> <p>Simplifying CSS Styles 191</p> <p>Enhancing Nontyped Languages with Types 196</p> <p>Transitioning Between Frameworks and Libraries 199</p> <p>Converting Object-Oriented Languages 203</p> <p>Migrating Databases 205</p> <p>Transitioning CI/CD Platforms 206</p> <p>Modernizing Legacy Systems 209</p> <p>Conclusion 213</p> <p>Reference 214</p> <p><b>Part IV Key Insights and Advanced Use Cases for GitHub Copilot 215</b></p> <p><b>Chapter 13 Considering Responsible AI with GitHub Copilot 217</b></p> <p>Introducing Responsible AI 217</p> <p>Examining How Copilot Implements Responsible AI 218</p> <p>Programming with AI Responsibly 226</p> <p>Conclusion 226</p> <p>References 227</p> <p><b>Chapter 14 Augmenting the Software Development Life Cycle with GitHub Copilot 229</b></p> <p>Introducing the SDLC 229</p> <p>Assessing the Adoption of AI in the SDLC 231</p> <p>Detailing Levels of AI Integration in the SDLC 232</p> <p>Showcasing GitHub Copilot in the SDLC 238</p> <p>Addressing Concerns: AI Adoption and the Future of Work 250</p> <p>Conclusion 251</p> <p>References 251</p> <p><b>Chapter 15 Exploring Copilot Business and Enterprise 253</b></p> <p>Introducing Copilot Business and Enterprise 254</p> <p>Chatting with Copilot in GitHub.com 257</p> <p>Indexing Code Repositories to Improve Copilot’s Understanding 262</p> <p>Getting Better Answers with the Knowledge Base 267</p> <p>Leveraging Copilot Chat in Code Repository Files 273</p> <p>Enhancing Pull Requests with Copilot 279</p> <p>Managing GitHub Copilot 288</p> <p>Looking Ahead 292</p> <p>Conclusion 293</p> <p>References 293</p> <p>Conclusion 295</p> <p><b>Appendix Resources for Further Learning 297</b></p> <p>GitHub Copilot Overview and Subscription Plans 297</p> <p>Community Engagement and Support 299</p> <p>Legal and Ethical Considerations 299</p> <p>Research and Insights 300</p> <p>Glossary 303</p> <p>Index 311</p>
<p><B>KURT DOWSWELL</B> is a software architect with over 13 years of experience delivering enterprise-grade software solutions for the Department of Defense. He is one of the first developers to work with GitHub Copilot and is a GitHub “community hero,” evangelizing the AI coding tool to the global developer community.
<p><b>Supercharge your programming speed and skill with GitHub Copilot</b> <p>In <i>Programming with GitHub<sup>®</sup> Copilot: Write Better Code – Faster</i>, senior software developer and GitHub community hero Kurt Dowswell delivers a practical, hands-on discussion of how you can use GitHub’s AI-powered coding assistant Copilot to supercharge your coding process. In the book, you’ll learn how Copilot’s capabilities push the boundaries of what you thought was possible based on your previous use of autocomplete tools like TabNine in VS Code. <p>This in-depth exploration of GitHub’s latest groundbreaking programming tool walks you through every relevant aspect of Copilot, from getting started with installation and configuration to using its most widely loved features, chatting with the tool, using Business features, and learning how to use Copilot Enterprise. You’ll even discover how to program from a specification, fix runtime and compilation bugs, and write unit, integration, and end-to-end tests. <p>A can’t-miss desk reference for practicing programmers, developers, and software engineers, <i>Programming with GitHub<sup>®</sup> Copilot </i>is also an essential resource for coders and other IT practitioners-in-training seeking to expand their skillset and improve the scope and depth of their programming knowledge.

Diese Produkte könnten Sie auch interessieren:

Kubernetes Best Practices
Kubernetes Best Practices
von: Brendan Burns, Eddie Villalba, Dave Strebel, Lachlan Evenson
EPUB ebook
39,90 €
Kubernetes Best Practices
Kubernetes Best Practices
von: Brendan Burns, Eddie Villalba, Dave Strebel, Lachlan Evenson
PDF ebook
39,90 €
Algoritmo computacional selectivo para el análisis de emociones
Algoritmo computacional selectivo para el análisis de emociones
von: Franyelit Suárez-Carreño, José Salazar-Rodríguez, Luis Rosales-Romero
PDF ebook
5,99 €