Hacker News new | past | comments | ask | show | jobs | submit login
Using GPT to Compile Pseudocode: A New Approach to Programming (kevinslin.com)
2 points by kevinslin on May 18, 2023 | hide | past | favorite | 1 comment



This is a terrific and very advanced use of chain-of-thought prompting. Many folks get frustrated when the first LLM response they get isn't the be-all, end-all answer. I have started to think of prompting like teaching a class of children (or CS students).

We shouldn't expect the right answer the first time. We should lead the LLM down the path to correctness. And we don't need to go all the way there -- just enough to get back to our real work.

While this seems counterintuitive, it's actually very useful in practice!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: