<story><title>Building an interpreter for my programming language with ChatGPT</title><url>https://6502.is-a.dev/posts/aoc-2022/</url></story><parent_chain><item><author>weatherlite</author><text>It doesn&amp;#x27;t sound that much different than going through Google and Stackoverflow though, is it? In a few hours of googling you can probably get something working if you are an experienced dev.</text></item><item><author>qnr</author><text>I have been developing a hobby project (AI powered document search) for a few months and was in sore need of a frontend. My frontend development skills however are stuck in late 1990s and I have zero skill with anything but plain HTML and a little bit of JS. Several times I tried learning React, reading tutorials, watching videos, but the whole idea of it was very removed from how I learned to code, so I gave up every time.&lt;p&gt;Today, I asked ChatGPT to develop the React app for me. ChatGPT guided me through the entire process starting from installing npm and necessary dependencies. The commands it suggested sometimes didn&amp;#x27;t work but every time I just copy-pasted the resulting error message into ChatGPT and it offered a working solution. I gave it the example of JSON output from my API backend and it generated the search UI which, to my surprise, worked.&lt;p&gt;My wet dream for the past few months was to implement infinite scrolling for my search. Again, after hours of google searches, tutorials, etc. I just gave up every single time. Not today. I asked ChatGPT to add infinite scrolling to my app. It wasn&amp;#x27;t easy. It didn&amp;#x27;t produce a working app immediately, it took a couple hours of conversations: I had many questions how different parts of React worked, how to fix errors etc. etc. In the end however, I had my working search app, and with infinite scroll to boot!&lt;p&gt;I haven&amp;#x27;t done a single google search or consulted any external documentation to do it and I was able to progress faster than I have ever did before when learning a new thing. ChatGPT is, for all intents and purposes, magic.</text></item></parent_chain><comment><author>qnr</author><text>The crucial difference is that at no point I felt I was stuck. I could paste any line of code into ChatGPT and ask it to explain it. Practically every time I got a meaningful and valuable explanation, moreover the explanation was in the context of my code. Similarly all functions it generated were matching the context of my code so I could just copy and paste it and it just worked, most of the time.&lt;p&gt;Rather than going through Google and Stackoverflow it felt like working side-by-side with a moderately competent developer. Mind you, I have tried the google-and-stackoverflow method before for the exact same thing, and failed every time ;-)</text></comment>
<story><title>Building an interpreter for my programming language with ChatGPT</title><url>https://6502.is-a.dev/posts/aoc-2022/</url></story><parent_chain><item><author>weatherlite</author><text>It doesn&amp;#x27;t sound that much different than going through Google and Stackoverflow though, is it? In a few hours of googling you can probably get something working if you are an experienced dev.</text></item><item><author>qnr</author><text>I have been developing a hobby project (AI powered document search) for a few months and was in sore need of a frontend. My frontend development skills however are stuck in late 1990s and I have zero skill with anything but plain HTML and a little bit of JS. Several times I tried learning React, reading tutorials, watching videos, but the whole idea of it was very removed from how I learned to code, so I gave up every time.&lt;p&gt;Today, I asked ChatGPT to develop the React app for me. ChatGPT guided me through the entire process starting from installing npm and necessary dependencies. The commands it suggested sometimes didn&amp;#x27;t work but every time I just copy-pasted the resulting error message into ChatGPT and it offered a working solution. I gave it the example of JSON output from my API backend and it generated the search UI which, to my surprise, worked.&lt;p&gt;My wet dream for the past few months was to implement infinite scrolling for my search. Again, after hours of google searches, tutorials, etc. I just gave up every single time. Not today. I asked ChatGPT to add infinite scrolling to my app. It wasn&amp;#x27;t easy. It didn&amp;#x27;t produce a working app immediately, it took a couple hours of conversations: I had many questions how different parts of React worked, how to fix errors etc. etc. In the end however, I had my working search app, and with infinite scroll to boot!&lt;p&gt;I haven&amp;#x27;t done a single google search or consulted any external documentation to do it and I was able to progress faster than I have ever did before when learning a new thing. ChatGPT is, for all intents and purposes, magic.</text></item></parent_chain><comment><author>xkapastel</author><text>It&amp;#x27;s very different because it will answer the question you asked, rather than answering a question that matches a substring of the question you asked like Google will.</text></comment>