All 4,799 reports

YesChatGPT · 29 Mar 2023

With 15 prompts in 2 hours, I was able to pair program a novel 200-line program in Go

Denzel on Hacker News

15 prompts in 2 hours

In the thread “Command line functions around OpenAI”, replying to this comment

Helped: Treating it like a software engineer with clear requirements and boundaries.

Got in the way: ChatGPT struggled to correct a regex error due to tokenization.

… From that point on, you can ask it to explain why it chose a certain data structure, or to adjust an implementation approach, among other things. With 15 prompts in 2 hours, I was able to pair program a novel 200-line program in Go that used AST parsing, command execution, pattern matching, file parsing, and custom data structures for specific data processing. All to solve a problem one of my teams experienced in the industry. …