3 ms·
I use ChatGPT all the time to generate quick example code, purely as a faster version of "Google for this API, then this other one, then figure out how to glue
by simonw 4y ago
I use ChatGPT all the time to generate quick example code, purely as a faster version of "Google for this API, then this other one, then figure out how to glue that together in a script".
I also use it for things like constructing jq recipes, or zsh for loops (I still can't remember how to do those without looking them up).
Recent jq example: https://fedi.simonwillison.net/@simon/109882602515468465 https://fedi.simonwillison.net/@simon/109882602515468465 - see also https://til.simonwillison.net/gpt3/jq https://til.simonwillison.net/gpt3/jq
Here's an example where I used it as a search engine and it taught me about an entirely new (to me) tool: https://til.simonwillison.net/macos/sips https://til.simonwillison.net/macos/sips
- 28304283409234 4y agoYup. I used to read manpages and skip straight to the examples. Don't see much difference other than less frustration.
- skugeTO 4y agoThat’s it! Chat GPT excels at reading documentation and writing prototypes of code that uses libraries, APIs, FFIs or all of them together! It saves so much time not to have to figure out how to instantiate that random call that wasn’t mentioned in the documentation and whose code is obscured by objectionable engineering. However I don’t think any line of chatGPTs code has yet made it to my codebase unchanged