Why ChatGPT Won’t Replace Coders Just Yet

<p>Lately I&rsquo;ve been seeing people using ChatGPT to write code. One guy posted on Twitter about how he used it&nbsp;<a href="https://twitter.com/skirano/status/1635736107949195278" rel="noopener ugc nofollow" target="_blank">to make a simple version of Pong &ldquo;in under 60 seconds&rdquo;</a>, while another had it&nbsp;<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 &mdash;&nbsp;<a href="https://help.openai.com/en/articles/6825453-chatgpt-release-notes" rel="noopener ugc nofollow" target="_blank">the March 14 version&nbsp;</a>&mdash; to make a simple to-do list web app. I started off with this request &hellip;</p> <blockquote> <p>I&rsquo;d like to make a simple to-do web app. Show me the code that would do the following: Display the text &ldquo;My To-Do List&rdquo; at the top, with a field beneath where I can type in to-do items. When I type in a new item and hit &ldquo;enter&rdquo;, 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 &mdash; 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 &ldquo;Save List&rdquo; 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>
Tags: ChatGPT Coders