For many things in general for IT related tasks in particular.
a) Write me shell script which does this and that.
b) what Linux command with what arguments do I call to do such and such thing.
c) Write me a function / class in language A/B/C that does this and that
d) write me a SQL query that does this and that
e) use it as a reference book for any programming language or whatever other subject.
etc. etc.
The answers sometimes come out wrong and / or does contain non trivial bugs. Being experienced programmer I usually have no problems spotting those just by looking at generated code or running test case created by ChatGPT. Alternatively there are no bugs but the approach is inefficient. In this case point explaining why it is inefficient and what to use instead ChatGPT will fix the approach. Basically it saves me a shit ton of time.
Do you have any strategy for prompting? I've found I need to spend a lot of effort coaxing it to understand the problem. Hallucinations were pretty common, and it lead me down a couple believable but non-viable paths. Like coding an extension for Chrome, but doing things the permission system will not allow.
a) Write me shell script which does this and that. b) what Linux command with what arguments do I call to do such and such thing. c) Write me a function / class in language A/B/C that does this and that d) write me a SQL query that does this and that e) use it as a reference book for any programming language or whatever other subject.
etc. etc.
The answers sometimes come out wrong and / or does contain non trivial bugs. Being experienced programmer I usually have no problems spotting those just by looking at generated code or running test case created by ChatGPT. Alternatively there are no bugs but the approach is inefficient. In this case point explaining why it is inefficient and what to use instead ChatGPT will fix the approach. Basically it saves me a shit ton of time.