FreeChat
Open main menu
ChatGPT知识
搜索
搜索
关闭
Previous
Previous
Next
Next
利用ChatGPT提高代码质量的5种方法
sockstack
/
185
/
2023-12-24 13:02:37
<p><span style="color: red; font-size: 18px">ChatGPT 可用网址,仅供交流学习使用,如对您有所帮助,请收藏并推荐给需要的朋友。</span><br><a href="https://ckai.xyz/?sockstack§ion=detail" target="__blank">https://ckai.xyz</a><br><br></p> <article class="baidu_pl"><div id="article_content" class="article_content clearfix"> <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/kdoc_html_views-1a98987dfd.css"> <link rel="stylesheet" href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/ck_htmledit_views-25cebea3f9.css"> <div id="content_views" class="markdown_views prism-atom-one-dark"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path></svg><blockquote> <p>本文首发于公众号:更AI (power_ai),欢迎关注,编程、AI干货及时送!</p> </blockquote> <h1> <a id="5ChatGPT_4"></a>5个可以提升你日常工作效率的ChatGPT特性</h1> <h2> <a id="_6"></a>如何利用它提高代码质量</h2> <p><img referrerpolicy="no-referrer" src="https://img-blog.csdnimg.cn/e0beb6d1783041e3abe3e0cb847212f5.png#pic_center" alt=""></p> <p>**ChatGPT已经彻底改变了开发代码的方式。**然而,大多数软件开发人员和数据专业人员仍然没有使用ChatGPT来提高和简化他们的工作。</p> <p>这就是为什么我在这里列出了5种不同的特性,可以在你的日常工作中提高效率和质量。</p> <p>你可以在你的日常工作中使用它们。让我们一起发现如何做到这一点 👇🏻</p> <p><em>⚠️ 警告:你永远不应该在ChatGPT中使用关键代码或信息。</em></p> <h2> <a id="1__18"></a>#1. 生成你的代码骨架</h2> <p>ChatGPT是我在从头开始构建新项目时的秘密武器。只需要几个提示,它就可以生成我需要的代码骨架,包括我选择的技术、框架和版本。<strong>它不仅每次至少为我节省一个小时左右的工作时间</strong>,而且还有助于保持我的文档 —— 或团队的文档 —— 的组织和更新。<em>就像团队中有一双额外的手!</em></p> <p>例如,假设我想要使用一些外部API。我可以要求ChatGPT为我草拟一个初始的代码结构。</p> <blockquote> <p>生成整合外部API的初始代码框架,使用Python语言。</p> </blockquote> <p>ChatGPT立刻就给出答复:</p> <p><img referrerpolicy="no-referrer" src="https://img-blog.csdnimg.cn/b10ab7feb5d1401798d61419a779e280.png#pic_center" alt="ChatGPT聊天截图。ChatGPT为我提供了一个代码骨架。"></p> <p>ChatGPT聊天截图。ChatGPT为我提供了一个代码骨架。</p> <p>或者我甚至可以要求一个使用Selenium抓取LinkedIn的骨架,ChatGPT给我以下输出。</p> <pre><code class="prism language-python"><span class="token keyword">from</span> selenium <span class="token keyword">import</span> webdriver <span class="token keyword">from</span> selenium<span class="token punctuation">.</span>webdriver<span class="token punctuation">.</span>common<span class="token punctuation">.</span>keys <span class="token keyword">import</span> Keys <span class="token keyword">import</span> time <span class="token comment"># 初始化web驱动程序 </span> driver <span class="token operator">=</span> webdriver<span class="token punctuation">.</span>Firefox<span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token comment"># 导航到LinkedIn </span> driver<span class="token punctuation">.</span>get<span class="token punctuation">(</span>\"https<span class="token punctuation">:</span><span class="token operator">//</span>www<span class="token punctuation">.</span>linkedin<span class="token punctuation">.</span>com<span class="token operator">/</span>\"<span class="token punctuation">)</span> <span class="token comment"># 查找电子邮件和密码输入字段 </span> email <span class="token operator">=</span> driver<span class="token punctuation">.</span>find_element_by_id<span class="token punctuation">(</span>\"username\"<span class="token punctuation">)</span> password <span class="token operator">=</span> driver<span class="token punctuation">.</span>find_element_by_id<span class="token punctuation">(</span>\"password\"<span class="token punctuation">)</span> <span class="token comment"># 输入你的凭证 </span> email<span class="token punctuation">.</span>send_keys<span class="token punctuation">(</span>\"YOUR_EMAIL\"<span class="token punctuation">)</span> password<span class="token punctuation">.</span>send_keys<span class="token punctuation">(</span>\"YOUR_PASSWORD\"<span class="token punctuation">)</span> <span class="token comment"># 点击登录按钮 </span> driver<span class="token punctuation">.</span>find_element_by_xpath<span class="token punctuation">(</span>\"<span class="token operator">//</span>button<span class="token punctuation">[</span>@<span class="token builtin">type</span><span class="token operator">=</span><span class="token string">'submit'</span><span class="token punctuation">]</span>\"<span class="token punctuation">)</span><span class="token punctuation">.</span>click<span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token comment"># 等待页面加载 </span> time<span class="token punctuation">.</span>sleep<span class="token punctuation">(</span><span class="token number">5</span><span class="token punctuation">)</span> <span class="token comment"># 导航到所需用户的个人资料 </span> driver<span class="token punctuation">.</span>get<span class="token punctuation">(</span>\"https<span class="token punctuation">:</span><span class="token operator">//</span>www<span class="token punctuation">.</span>linkedin<span class="token punctuation">.</span>com<span class="token operator">/</span><span class="token keyword">in</span><span class="token operator">/</span>USER_PROFILE_NAME\"<span class="token punctuation">)</span> <span class="token comment"># 从页面中提取你想要的信息 </span> name <span class="token operator">=</span> driver<span class="token punctuation">.</span>find_element_by_xpath<span class="token punctuation">(</span>\"<span class="token operator">//</span>span<span class="token punctuation">[</span>@<span class="token keyword">class</span><span class="token operator">=</span><span class="token string">'inline t-24 t-black t-normal break-words'</span><span class="token punctuation">]</span>\"<span class="token punctuation">)</span><span class="token punctuation">.</span>text location <span class="token operator">=</span> driver<span class="token punctuation">.</span>find_element_by_xpath<span class="token punctuation">(</span>\"<span class="token operator">//</span>span<span class="token punctuation">[</span>@<span class="token keyword">class</span><span class="token operator">=</span><span class="token string">'t-16 t-black t-normal inline-block'</span><span class="token punctuation">]</span>\"<span class="token punctuation">)</span><span class="token punctuation">.</span>text <span class="token keyword">print</span><span class="token punctuation">(</span>name<span class="token punctuation">)</span> <span class="token keyword">print</span><span class="token punctuation">(</span>location<span class="token punctuation">)</span> <span class="token comment"># 关闭浏览器 </span> driver<span class="token punctuation">.</span>quit<span class="token punctuation">(</span><span class="token punctuation">)</span> </code></pre> <p><em>很简单,对吧?试着用任何你能想象的项目来挑战ChatGPT。</em></p> <h2> <a id="2__75"></a>#2. 研究和比较</h2> <p>关于如何实现某项任务的决策可能非常困难,<strong>特别是当有多个选项可供选择时</strong>。我的常规方法是为每个方法创建一个基础的概念验证,然后进行比较。但是,在ChatGPT的帮助下,<em>这个过程变得容易了很多。</em></p> <p>我现在可以直接询问它对我代码开发最好的选择或库的专业意见。<strong>这为我节省了决策过程中的时间和精力,确保我使用的是最佳工具。</strong></p> <p>让我们想象一下,我想要处理地理空间数据,但我不确定我应该使用<code>Geopandas</code>(地理熊猫)还是<code>Plotly</code>(绘图库)。我可以要求ChatGPT为我比较 - 包括类型 😉 - 它会立刻告诉我这两个库的主要区别。</p> <p><img referrerpolicy="no-referrer" src="https://img-blog.csdnimg.cn/a470c548b5e84befa3d5ab115490c272.png#pic_center" alt="ChatGPT聊天截图。ChatGPT向我解释geopandas和plotly之间的区别。"></p> <p>ChatGPT聊天截图。ChatGPT向我解释geopandas和plotly之间的区别。</p> <p>如果我现在想抓取一个网站,我可以询问最好的库是什么。ChatGPT会回答Python中最流行的网络抓取库是什么。</p> <p><img referrerpolicy="no-referrer" src="https://img-blog.csdnimg.cn/5ec57d65905a46f582c83b258dc07d2c.png#pic_center" alt=""></p> <p>ChatGPT聊天截图。ChatGPT解释最流行的网站抓取库。</p> <p>你甚至可以询问抓取你想要的网站的最佳选项 - 尽管ChatGPT最有可能会警告你这将违反该网站的内容政策 - 所以请小心。</p> <blockquote> <p>抓取社交网络的最佳选择是什么?</p> </blockquote> <p><img referrerpolicy="no-referrer" src="https://img-blog.csdnimg.cn/1323582fad5546c5bc0caf1cce755070.png#pic_center" alt="ChatGPT聊天截图。ChatGPT解释抓取社交网络的最佳选择。"></p> <p>ChatGPT聊天截图。ChatGPT解释抓取社交网络的最佳选择。</p> <h2> <a id="3__101"></a>#3. 理解代码</h2> <p>我们都有过这样的经历,<strong>努力去理解一个并非由我们创建的代码库</strong>。在一个复杂且组织结构混乱的代码(也被称为_spaghetti code_)中导航可能是一个令人沮丧且耗时的任务。</p> <p>但是,有了ChatGPT,理解一个新的代码库就变得更加简单了。我现在只需要简单地向它询问代码的功能就能在很短的时间内理解它。<strong>再也不需要浪费宝贵的时间和精力试图解读那些写得不好的代码了。</strong></p> <p>让我们想象一下,我正在试图爬取LinkedIn,我在互联网上找到了一个随机的代码,这个代码应该可以滚动LinkedIn的工作机会网站。</p> <blockquote> <p>下面这段代码是做什么的?[在此插入代码]</p> </blockquote> <pre><code class="prism language-python"><span class="token comment">#我们找出有多少工作机会提供。 </span> jobs_num <span class="token operator">=</span> driver<span class="token punctuation">.</span>find_element<span class="token punctuation">(</span>By<span class="token punctuation">.</span>CSS_SELECTOR<span class="token punctuation">,</span>\"h1<span class="token operator">></span>span\"<span class="token punctuation">)</span><span class="token punctuation">.</span>get_attribute<span class="token punctuation">(</span>\"innerText\"<span class="token punctuation">)</span> <span class="token keyword">if</span> <span class="token builtin">len</span><span class="token punctuation">(</span>jobs_num<span class="token punctuation">.</span>split<span class="token punctuation">(</span><span class="token string">','</span><span class="token punctuation">)</span><span class="token punctuation">)</span> <span class="token operator">></span> <span class="token number">1</span><span class="token punctuation">:</span> jobs_num <span class="token operator">=</span> <span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token punctuation">.</span>split<span class="token punctuation">(</span><span class="token string">','</span><span class="token punctuation">)</span><span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">)</span><span class="token operator">*</span><span class="token number">1000</span> <span class="token keyword">else</span><span class="token punctuation">:</span> jobs_num <span class="token operator">=</span> <span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token punctuation">)</span> jobs_num <span class="token operator">=</span> <span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token punctuation">)</span> <span class="token comment">#在这里我手动选择一些工作,所以不会花费太长时间: </span> jobs_num <span class="token operator">=</span> <span class="token number">1000</span><span class="token punctuation">;</span> <span class="token comment">#我们创建一个while循环来浏览所有工作。 </span> i <span class="token operator">=</span> <span class="token number">2</span> <span class="token keyword">while</span> i <span class="token operator"><=</span> <span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token operator">/</span><span class="token number">2</span><span class="token punctuation">)</span><span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">:</span> <span class="token comment">#我们一直向下滚动到视图的底部。 </span>driver<span class="token punctuation">.</span>execute_script<span class="token punctuation">(</span>\"window<span class="token punctuation">.</span>scrollTo<span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">,</span> document<span class="token punctuation">.</span>body<span class="token punctuation">.</span>scrollHeight<span class="token punctuation">)</span><span class="token punctuation">;</span>\"<span class="token punctuation">)</span> i <span class="token operator">=</span> i <span class="token operator">+</span> <span class="token number">1</span> <span class="token keyword">print</span><span class="token punctuation">(</span>\"当前在<span class="token punctuation">:</span> \"<span class="token punctuation">,</span> i<span class="token punctuation">,</span> \"完成度<span class="token punctuation">:</span> \"<span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token punctuation">(</span>i<span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">)</span><span class="token operator">/</span><span class="token punctuation">(</span><span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token operator">/</span><span class="token number">2</span><span class="token punctuation">)</span><span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token operator">*</span><span class="token number">100</span><span class="token punctuation">,</span> \"<span class="token operator">%</span>\"<span class="token punctuation">,</span>end<span class="token operator">=</span>\"\\r\"<span class="token punctuation">)</span> <span class="token keyword">try</span><span class="token punctuation">:</span> <span class="token comment">#我们试图点击“加载更多结果”按钮,以防它已经显示出来。 </span>infinite_scroller_button <span class="token operator">=</span> driver<span class="token punctuation">.</span>find_element<span class="token punctuation">(</span>By<span class="token punctuation">.</span>XPATH<span class="token punctuation">,</span> \"<span class="token punctuation">.</span><span class="token operator">//</span>button<span class="token punctuation">[</span>@aria<span class="token operator">-</span>label<span class="token operator">=</span><span class="token string">'Load more results'</span><span class="token punctuation">]</span>\"<span class="token punctuation">)</span> infinite_scroller_button<span class="token punctuation">.</span>click<span class="token punctuation">(</span><span class="token punctuation">)</span> time<span class="token punctuation">.</span>sleep<span class="token punctuation">(</span><span class="token number">0.1</span><span class="token punctuation">)</span> <span class="token keyword">except</span><span class="token punctuation">:</span> <span class="token comment">#如果没有按钮,将会有一个错误,所以我们继续向下滚动。 </span>time<span class="token punctuation">.</span>sleep<span class="token punctuation">(</span><span class="token number">0.1</span><span class="token punctuation">)</span> <span class="token keyword">pass</span> </code></pre> <p>ChatGPT立即给出了对上述代码的非常详细的解释。你甚至可以询问代码的某一部分有关更多的细节——<em>只要与ChatGPT玩一玩,你就会发现它可以创造出所有的奇迹。</em></p> <p><img referrerpolicy="no-referrer" src="https://img-blog.csdnimg.cn/0ad946536c304b31b8fdf9c7dcb45db9.png#pic_center" alt="ChatGPT聊天截图。ChatGPT解释我之前不理解的代码。"></p> <p>ChatGPT聊天截图。ChatGPT解释我之前不理解的代码。</p> <h2> <a id="4__149"></a>#4. 为我们的代码添加注释</h2> <p>ChatGPT也可以帮助我们提高我们自己的代码的质量和可维护性。通过要求它逐行添加注释,我们可以确保我们的代码在发布之前得到适当的文档化。这消除了需要无注释代码的需要,并使其他人更容易理解和使用我们的代码。</p> <p><strong>ChatGPT可以显著提高可读性、可维护性和与他人的协作。</strong></p> <p>让我们假设前面的代码根本没有任何注释。我们可以直接要求ChaGPT向其添加注释。</p> <blockquote> <p>为下列代码添加注释 [在此插入代码]</p> </blockquote> <pre><code class="prism language-python"><span class="token comment"># 在网站上找到提供的工作数量 </span> jobs_num <span class="token operator">=</span> driver<span class="token punctuation">.</span>find_element<span class="token punctuation">(</span>By<span class="token punctuation">.</span>CSS_SELECTOR<span class="token punctuation">,</span>\"h1<span class="token operator">></span>span\"<span class="token punctuation">)</span><span class="token punctuation">.</span>get_attribute<span class="token punctuation">(</span>\"innerText\"<span class="token punctuation">)</span> <span class="token comment"># 检查工作数量是否包含',',如果是,将其转换为数字 * 1000 </span> <span class="token keyword">if</span> <span class="token builtin">len</span><span class="token punctuation">(</span>jobs_num<span class="token punctuation">.</span>split<span class="token punctuation">(</span><span class="token string">','</span><span class="token punctuation">)</span><span class="token punctuation">)</span> <span class="token operator">></span> <span class="token number">1</span><span class="token punctuation">:</span> jobs_num <span class="token operator">=</span> <span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token punctuation">.</span>split<span class="token punctuation">(</span><span class="token string">','</span><span class="token punctuation">)</span><span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">)</span><span class="token operator">*</span><span class="token number">1000</span> <span class="token keyword">else</span><span class="token punctuation">:</span> jobs_num <span class="token operator">=</span> <span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token punctuation">)</span> <span class="token comment"># 将jobs_num转换为整数 </span> jobs_num <span class="token operator">=</span> <span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token punctuation">)</span> <span class="token comment"># 设置要爬取的工作数量为1000 </span> jobs_num <span class="token operator">=</span> <span class="token number">1000</span><span class="token punctuation">;</span> <span class="token comment"># 初始化一个计数变量来滚动工作 </span> i <span class="token operator">=</span> <span class="token number">2</span> <span class="token comment"># 开始一个while循环来滚动工作 </span> <span class="token keyword">while</span> i <span class="token operator"><=</span> <span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token operator">/</span><span class="token number">2</span><span class="token punctuation">)</span><span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">:</span> <span class="token comment"># 滚动到页面底部 </span>driver<span class="token punctuation">.</span>execute_script<span class="token punctuation">(</span>\"window<span class="token punctuation">.</span>scrollTo<span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">,</span> document<span class="token punctuation">.</span>body<span class="token punctuation">.</span>scrollHeight<span class="token punctuation">)</span><span class="token punctuation">;</span>\"<span class="token punctuation">)</span> <span class="token comment"># 增加计数变量 </span>i <span class="token operator">=</span> i <span class="token operator">+</span> <span class="token number">1</span> <span class="token comment"># 打印当前滚动过的工作数量和完成的百分比 </span><span class="token keyword">print</span><span class="token punctuation">(</span>\"当前在<span class="token punctuation">:</span> \"<span class="token punctuation">,</span> i<span class="token punctuation">,</span> \"完成度<span class="token punctuation">:</span> \"<span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token punctuation">(</span>i<span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">)</span><span class="token operator">/</span><span class="token punctuation">(</span><span class="token builtin">int</span><span class="token punctuation">(</span>jobs_num<span class="token operator">/</span><span class="token number">2</span><span class="token punctuation">)</span><span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token operator">*</span><span class="token number">100</span><span class="token punctuation">,</span> \"<span class="token operator">%</span>\"<span class="token punctuation">,</span>end<span class="token operator">=</span>\"\\r\"<span class="token punctuation">)</span> <span class="token keyword">try</span><span class="token punctuation">:</span> <span class="token comment"># 尝试定位“加载更多结果”按钮并点击 </span>infinite_scroller_button <span class="token operator">=</span> driver<span class="token punctuation">.</span>find_element<span class="token punctuation">(</span>By<span class="token punctuation">.</span>XPATH<span class="token punctuation">,</span> \"<span class="token punctuation">.</span><span class="token operator">//</span>button<span class="token punctuation">[</span>@aria<span class="token operator">-</span>label<span class="token operator">=</span><span class="token string">'Load more results'</span><span class="token punctuation">]</span>\"<span class="token punctuation">)</span> infinite_scroller_button<span class="token punctuation">.</span>click<span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token comment"># 休眠0.1秒 </span>time<span class="token punctuation">.</span>sleep<span class="token punctuation">(</span><span class="token number">0.1</span><span class="token punctuation">)</span> <span class="token keyword">except</span><span class="token punctuation">:</span> <span class="token comment"># 如果按钮不存在,休眠0.1秒并继续滚动 </span>time<span class="token punctuation">.</span>sleep<span class="token punctuation">(</span><span class="token number">0.1</span><span class="token punctuation">)</span> <span class="token keyword">pass</span> </code></pre> <p><em>令人印象深刻,对吧?没有注释的代码再也不存在了! 😄</em></p> <h2> <a id="5__200"></a>#5. 用某种风格重写我们的代码</h2> <p>ChatGPT不仅是理解不熟悉代码的有价值工具,<strong>而且它也能帮助我们确保我们自己的代码遵循行业标准和约定。</strong> 通过要求它根据Pep-8规范(PEP-8)来纠正我们的代码,或者甚至为我们的编码风格创建自定义规范,我们可以避免在合并来自不同仓库或团队的代码时需要花费和耗时的重构。</p> <p><strong>这有助于简化协作过程,使其更加高效。</strong> 总的来说,ChatGPT是一种多功能工具,可以提高我们代码库的质量和可维护性。</p> <p>如果我们要求ChatGPT使用Pep-8标准编写之前的代码,它将直接给我们重构后的代码。</p> <p><em>你能用Pep8标准重写以下代码吗[在此处插入代码]</em></p> <p><img referrerpolicy="no-referrer" src="https://img-blog.csdnimg.cn/9826479d4ce04b10ac8caba971886140.png#pic_center" alt="ChatGPT聊天截图。ChatGPT按照Pep8标准给出我们的代码。"></p> <p>ChatGPT聊天截图。ChatGPT按照Pep8标准给出我们的代码。</p> <h1> <a id="_214"></a>主要结论</h1> <p>我希望在阅读这篇文章后,你能意识到ChatGPT可以<strong>帮助我们提高生产力,甚至创造出更高质量的输出。</strong> 我知道,很容易陷入这样一种思维陷阱,认为AI可能最终会取代我们的工作,<strong>但是正确的AI可以成为我们的强大资产。</strong></p> <p>然而,<strong>在使用AI时,仍然需要批判性思考</strong> ,就像和人类同事一起工作一样。</p> <p>所以,在你急于实施AI生成的回应之前,一定要花时间来回顾和评估它们。相信我,最后这是值得的!</p> <p><em>如果ChatGPT用其他好特性给你带来了惊喜,请留言一起来讨论!😄</em></p> <blockquote> <p>你好,我是拾叁,7年开发老司机、互联网两年外企5年。怼得过阿三老美,也被PR comments搞崩溃过。这些年我打过工,创过业,接过私活,也混过upwork。赚过钱也亏过钱。一路过来,给我最深的感受就是不管学什么,一定要不断学习。只要你能坚持下来,就很容易实现弯道超车!所以,不要问我现在干什么是否来得及。如果你还没什么方向,可以先关注我[公众号:更AI (power_ai)],这里会经常分享一些前沿资讯和编程知识,帮你积累弯道超车的资本。</p> </blockquote> </div> <link href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/editerView/markdown_views-98b95bb57c.css" rel="stylesheet"> <link href="https://csdnimg.cn/release/blogv2/dist/mdeditor/css/style-c216769e99.css" rel="stylesheet"> </div> <div id="treeSkill"></div></article>
利用ChatGPT提高代码质量的5种方法
作者
sockstack
许可协议
CC BY 4.0
发布于
2023-12-24
修改于
2024-11-10
上一篇:软件:常用 Linux 软件汇总,值得收藏
下一篇:一键导出ChatGPT聊天记录:让备份更简单