u/michaelnovati replied ·
I use ChatGPT to two main reasons:
1. Speed up refactoring or text changes that would need either a script, clever regex, or a multi-step process. For example, I might say something like 'take this array of strings and return an array of objects each with the key 'source' and the value from the array' and then paste a big array.
2. "Stack Overflow" - like can you give me the regex to verify an email address. Or any of those times you have a stack overflow question where you have one of those 500 upvote answers that is clearly unambiguously correct. I also use it to help me get started with API calls for tools, however it's OFTEN WRONG, so this one is a little less useful and normally a fallback if I can't figure it out myself.