It doesn’t matter if you are not familiar with the code, let AI write it for you

Programmers are no longer an unfamiliar group, but programs and codes are still relatively esoteric and difficult to understand compared to ordinary people, but since ChatGPT is available, many laymen who are interested in this can easily write codes , For example, let ChatGPT write a snake game, follow the prompts it gives step by step, and sometimes it can actually run a small game, which is a great sense of accomplishment.

ChatGPT

https://chat.openai.com/chat

ChatGPT writing code is nothing new. It can not only write code, but also help you understand the code and find out the bugs in the code. Let me write a piece of code for the Snake game in JS, and save it as corresponding The file can be run directly in the browser.

55bb376b8d06165e9f1b0cbde56168f6.jpeg

GitHub Copilot X

GitHub will publicly introduce the programming tool Copilot for the first time in 2021, and it will be released to the public in 2022. It will appear more as a code completion tool. The chat function of the new Copilot X is connected to GPT-4, which has been integrated with the open source editor VS Code. (Visual Studio) integration, the function is far better than the initial simple code completion suggestion, but it is a paid plug-in, which is required by ordinary users for one year, and the enterprise version is also provided at 19/user/month, but compared to the efficiency it can improve In other words, it is still worth the money.

https://github.com/features/preview/copilot-x

Codeium

https://codeium.com

It is a free AI code providing tool, and there is no limit on the number of times. It also supports many IDEs. VS, JetBrain series, etc., almost all mainstream languages ​​are supported. It supports multi-line code completion, supports natural language recognition, and can be based on natural language. Description and code context to automatically generate complete code snippets, functions or even entire files.

e68719364f346ed4f5fcde207dda6f9b.jpeg

Cursor

https://cursor.co/

Cursor is an IDE for AI code development. The official said that although it is in the early stage, it is a partner with OpenAI, and it is connected to GPT-4 behind it, so its strength is visible. Do you still remember how to implement a common entity CRUD? To use Curosr, you only need to submit and prepare a few corresponding files, and input prompts to automatically generate code.

6c53a4e9640c04888cd220877c3b29fe.jpeg

ecbb681cddb187b74feba8d22cb5bd21.jpeg

1a5a7de08dd17a1a1c931b3d48fdfdda.jpeg

351d2713a8febd4e41fc61843b9967d0.png

Cursor is an investment member company of OpenAI, so it is not surprising that GPT-4 can be used


Further reading:

Guess you like

Origin blog.csdn.net/hero272285642/article/details/130037162