Skip to content

Commit 7f13862

Browse files
committed
feat: 除了首次出现,其他地方的 "GitHub Copilot" 简化为 "Copilot"
1 parent 4444430 commit 7f13862

File tree

7 files changed

+35
-35
lines changed

7 files changed

+35
-35
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
0. 序章
2323
* [欢迎加入](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/1)
24-
1. [借助 GitHub Copilot 走近 AI 辅助编程](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/2)
24+
1. [借助 Copilot 走近 AI 辅助编程](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/2)
2525
* [1.1 我们如何与计算机对话](https://github.com/cssmagic/Learn-AI-Assisted-Python-Programming/issues/3)
2626
* 1.2 About the technology
2727
* 1.3 How Copilot changes how we learn to program
@@ -30,7 +30,7 @@
3030
* 1.6 The skills we need
3131
* 1.7 Societal concerns about AI code assistants like Copilot
3232
* 1.8 本章小结
33-
2. 快速上手 GitHub Copilot
33+
2. 快速上手 Copilot
3434
3. 设计函数
3535
4. 阅读 Python 代码(上)
3636
5. 阅读 Python 代码(下)
@@ -50,7 +50,7 @@
5050

5151
AI has changed the way we write computer programs. With tools like Copilot and ChatGPT, you can describe what you want in plain English, and watch your AI assistant generate the code right before your eyes. It’s perfect for beginners, or anyone who’s struggled with the steep learning curve of traditional programming.
5252

53-
AI 改变了我们编写计算机程序的方式。通过使用 GitHub Copilot 和 ChatGPT 这样的工具,你只需用简单的语言描述你的需求,就可以看到 AI 助手在你眼前生成代码。这对于初学者或曾在传统编程的学习曲线上苦苦挣扎的人们来说,实在是太完美了。
53+
AI 改变了我们编写计算机程序的方式。通过使用 Copilot 和 ChatGPT 这样的工具,你只需用简单的语言描述你的需求,就可以看到 AI 助手在你眼前生成代码。这对于初学者或曾在传统编程的学习曲线上苦苦挣扎的人们来说,实在是太完美了。
5454

5555

5656
In _Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT_ you’ll learn how to:
@@ -68,8 +68,8 @@ In _Learn AI-Assisted Python Programming: With GitHub Copilot and ChatGPT_ you
6868
<!-- -->
6969

7070
* 编写既有趣又实用的 Python 应用程序 —— 无需编程经验!
71-
* 利用 GitHub Copilot AI 编程助手来编写 Python 程序
72-
* 编写提示词,精确引导 GitHub Copilot
71+
* 利用 Copilot AI 编程助手来编写 Python 程序
72+
* 编写提示词,精确引导 Copilot
7373
* 阅读 Python 代码并理解其功能
7474
* 测试你的程序,确保它们按照你的意图运作
7575
* 利用提示词工程或人工微调来修复代码

chapter-0/010-welcome.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ This book is for those who are interested in learning how to write software with
2525

2626
We’ve organized the book to get you started writing software with Copilot right from the start. Then we teach you the essential skills that you need to program with Copilot effectively: code reading, problem decomposition, and testing. After that, we’ll bring all the skills together to write small software projects in meaningful domains.
2727

28-
我们组织了这本书,让你从一开始就能够开始使用 GitHub Copilot 编写软件。然后,我们教你与 GitHub Copilot 有效编程所需的基本技能:代码阅读、问题分解和测试。之后,我们将所有技能汇集起来,编写在有意义的领域中的小型软件项目。
28+
我们组织了这本书,让你从一开始就能够开始使用 Copilot 编写软件。然后,我们教你与 Copilot 有效编程所需的基本技能:代码阅读、问题分解和测试。之后,我们将所有技能汇集起来,编写在有意义的领域中的小型软件项目。
2929

30-
我们精心安排了本书的结构,确保你一开始就能运用 GitHub Copilot 编写代码。接下来,我们将传授 GitHub Copilot 高效编程的核心技能:阅读代码、分析问题、进行测试。最后,我们会将这些技能结合起来,在具有实际意义的领域中完成小型软件项目的编写。
30+
我们精心安排了本书的结构,确保你一开始就能运用 Copilot 编写代码。接下来,我们将传授 Copilot 高效编程的核心技能:阅读代码、分析问题、进行测试。最后,我们会将这些技能结合起来,在具有实际意义的领域中完成小型软件项目的编写。
3131

3232
At the same time, we need to caution you: it’s early. These tools seem to be changing on a daily basis. We don’t know what programming will look like when the dust settles. The two of us are exploring new territory with few established answers and we are excited to start this journey with you.
3333

chapter-1/100.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
id: 2
3-
title: "[译] [100] 借助 GitHub Copilot 走近 AI 辅助编程"
3+
title: "[译] [100] 借助 Copilot 走近 AI 辅助编程"
44
---
55

66
# Introducing AI-Assisted Programming with Copilot
77

8-
# 借助 GitHub Copilot 走近 AI 辅助编程
8+
# 借助 Copilot 走近 AI 辅助编程
99

1010
### This chapter covers
1111

@@ -24,18 +24,18 @@ title: "[译] [100] 借助 GitHub Copilot 走近 AI 辅助编程"
2424
* AI 辅助的计算机编程
2525
* AI 助手如何改变新手程序员学习编程的方式
2626
* 为什么编程方式将发生永久性的变革
27-
*GitHub Copilot 这样的 AI 助手是如何工作的
28-
* GitHub Copilot 为何能够解决众多入门级的经典问题
27+
* 像 Copilot 这样的 AI 助手是如何工作的
28+
* Copilot 为何能够解决众多入门级的经典问题
2929
* 利用 AI 编程助手还能做哪些事情
3030
* AI 辅助编程可能带来的风险
3131

3232
In this chapter, we’ll talk about how humans communicate with computers. We’ll introduce you to your **AI Assistant**, Copilot, an amazing tool that uses Artificial Intelligence (AI) to help people write software. More importantly, we’ll show you how Copilot can help you learn how to program. We’re not expecting that you’ve written any programs before. If you have, please don’t skip this chapter, even if you already know a little bit about programming.
3333

34-
在本章中,我们将探讨人类如何与计算机进行交流。我们会向您介绍您的 **AI 助手** GitHub Copilot,一个利用人工智能(AI)帮助人们编写软件的神奇工具。更为重要的是,我们将展示 GitHub Copilot 如何帮助您学习编程。我们并不假设您之前有编程经验。不过,即便您有所了解,也请不要跳过本章。
34+
在本章中,我们将探讨人类如何与计算机进行交流。我们会向您介绍您的 **AI 助手** Copilot,一个利用人工智能(AI)帮助人们编写软件的神奇工具。更为重要的是,我们将展示 Copilot 如何帮助您学习编程。我们并不假设您之前有编程经验。不过,即便您有所了解,也请不要跳过本章。
3535

3636

3737
Everyone needs to know why writing programs is different now that we have AI assistants like ChatGPT and Copilot, and that the skills we need to be effective programmers change. As we’ll see, we also need to be vigilant, because sometimes tools like ChatGPT and Copilot lie.
3838

39-
现如今,随着像 ChatGPT 和 GitHub Copilot 这样的 AI 助手的出现,编程方式已经发生了根本性的变化。这也意味着我们作为程序员所需掌握的技能也随之改变。同时我们也会看到,由于 ChatGPT 和 GitHub Copilot 这类工具有时可能会提供误导信息,我们还需保持警惕。
39+
现如今,随着像 ChatGPT 和 Copilot 这样的 AI 助手的出现,编程方式已经发生了根本性的变化。这也意味着我们作为程序员所需掌握的技能也随之改变。同时我们也会看到,由于 ChatGPT 和 Copilot 这类工具有时可能会提供误导信息,我们还需保持警惕。
4040

4141

chapter-1/101.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ This is changing.
8181

8282
Using an AI assistant, we can now ask for what we want in English and have the computer code written for us in response. To get a correct Python program that does actually print the numbers from 0 to 9, we can ask our AI assistant (Copilot) in normal English language like this:
8383

84-
借助 AI 助手,我们现在可以用英文明确提出我们的需求,并让计算机相应地为我们编写代码。为了得到一个实际上能打印出 0 到 9 数字的正确 Python 程序,我们可以这样用日常英语向我们的 AI 助手(GitHub Copilot)提出指令:
84+
借助 AI 助手,我们现在可以用英文明确提出我们的需求,并让计算机相应地为我们编写代码。为了得到一个实际上能打印出 0 到 9 数字的正确 Python 程序,我们可以这样用日常英语向我们的 AI 助手(Copilot)提出指令:
8585

8686
```python
8787
# Output the numbers from 0 to 9
@@ -93,7 +93,7 @@ Using an AI assistant, we can now ask for what we want in English and have the c
9393

9494
Copilot might respond to this prompt by generating something like this:
9595

96-
对此,GitHub Copilot 可能会根据这一指令生成如下代码:
96+
对此,Copilot 可能会根据这一指令生成如下代码:
9797

9898
```python
9999
for i in range(10):
@@ -106,8 +106,8 @@ Unlike the example we showed you before, this piece of Python code actually work
106106

107107
AI coding assistants can be used to help people write code. In this book, we will learn how to use Copilot to write code for us. We will ask for what we want in English, and we will get the code back in Python.
108108

109-
AI 编程助手能够帮助人们编写代码。在本书中,我们会探索如何利用 GitHub Copilot 来编写代码。我们只需用英语描述我们的需求,便能收到用 Python 编写的代码作为回应。
109+
AI 编程助手能够帮助人们编写代码。在本书中,我们会探索如何利用 Copilot 来编写代码。我们只需用英语描述我们的需求,便能收到用 Python 编写的代码作为回应。
110110

111111
More than that, we'll be able to use Copilot as a seamless part of our workflow. Without tools like Copilot, programmers routinely have two windows open: the one where they write code and the other where they ask on Google how to write code. This second window would have Google search results, Python documentation, or forums of programmers talking about how to write code to solve that particular problem. They're often pasting code from these results into their code, then tweaking it slightly for their context, trying alternatives, and so on. This has become a way of life for programmers—but you can imagine the inefficiency here. By some estimates, up to 35% of programmer’s time may be spent searching for code \[1\], and much of the code that is found is not readily usable. This will be much improved with Copilot helping us write our code.
112112

113-
更进一步,我们将能够无缝集成 GitHub Copilot 到我们的工作流程中。在没有 GitHub Copilot 这类工具的情况下,程序员通常需要同时打开两个窗口:一个用于编写代码,另一个用于在 Google 上查询编码方法。这第二个窗口可能充斥着 Google 搜索结果、Python 文档或是程序员论坛上讨论如何解决特定编码问题的帖子。他们经常需要从这些结果中复制代码到自己的项目中,随后进行适当的调整以符合自己的应用场景,尝试不同的解决方案等。这已经成为了程序员生活的一部分——但你可以想象这样做的低效率。据估计,程序员多达 35% 的时间可能花在搜索代码上\[1\],而且很多找到的代码并不是可以立即使用的。有了 GitHub Copilot 协助我们编写代码,这种情况将得到显著改善。
113+
更进一步,我们将能够无缝集成 Copilot 到我们的工作流程中。在没有 Copilot 这类工具的情况下,程序员通常需要同时打开两个窗口:一个用于编写代码,另一个用于在 Google 上查询编码方法。这第二个窗口可能充斥着 Google 搜索结果、Python 文档或是程序员论坛上讨论如何解决特定编码问题的帖子。他们经常需要从这些结果中复制代码到自己的项目中,随后进行适当的调整以符合自己的应用场景,尝试不同的解决方案等。这已经成为了程序员生活的一部分——但你可以想象这样做的低效率。据估计,程序员多达 35% 的时间可能花在搜索代码上\[1\],而且很多找到的代码并不是可以立即使用的。有了 Copilot 协助我们编写代码,这种情况将得到显著改善。

0 commit comments

Comments
 (0)