Why ChatGPT Won’t Replace Coders Just Yet
<p>Lately I’ve been seeing people using ChatGPT to write code. One guy posted on Twitter about how he used it <a href="https://twitter.com/skirano/status/1635736107949195278" rel="noopener ugc nofollow" target="_blank">to make a simple version of Pong “in under 60 seconds”</a>, while another had it <a href="https://twitter.com/TylerGlaiel/status/1621955311111405568" rel="noopener ugc nofollow" target="_blank">write a Python script to rename files</a>.</p>
<p>I wanted to get in on the action, so I asked ChatGPT — <a href="https://help.openai.com/en/articles/6825453-chatgpt-release-notes" rel="noopener ugc nofollow" target="_blank">the March 14 version </a>— to make a simple to-do list web app. I started off with this request …</p>
<blockquote>
<p>I’d like to make a simple to-do web app. Show me the code that would do the following: Display the text “My To-Do List” at the top, with a field beneath where I can type in to-do items. When I type in a new item and hit “enter”, the new item would appear in a list below the input field. When I click on any list in the item, it disappears.</p>
</blockquote>
<p>Presto — it cranked out some simple HTML and Javascript, which did exactly what I asked for.</p>
<p>Over the next few minutes, I added a bunch more requests: I told it to add a button called “Save List” that, when you clicked it, would save the list locally on your browser. I told it a couple of Google fonts to use, and asked it for CSS styling to use those fonts. Then I had it add a bit more styling: To change the font size for smaller screens vs. bigger screens, to add bullet points before each item on the list, and to add a light gray dotted line around the input box. Each time I asked for a revision, ChatGPT would tell me where to cut and paste the new code, and what the code was doing.</p>
<p><a href="https://betterprogramming.pub/why-chatgpt-wont-replace-coders-just-yet-87487a9dda4e">Click Here</a></p>