I think I am. I don't know how much of my time is spent writing boilerplate but it feels like a lot. Reducing that time is a big win.
Recently I've successfully used ChatGPT to generate:
* TS declaration files for existing JS
* test fixtures that cover boundary conditions
* a regular expression that includes backtracking and optional named capture groups
The last one was pretty neat. I gave it sample data and it gave me a regular expression along with JS code I could copy into a node REPL for testing. It didn't get the task right immediately but we were able to iterate until we got the right solution. My regex-fu is weak when it comes to backtracking so this saved me a lot of time.
Recently I've successfully used ChatGPT to generate:
* TS declaration files for existing JS
* test fixtures that cover boundary conditions
* a regular expression that includes backtracking and optional named capture groups
The last one was pretty neat. I gave it sample data and it gave me a regular expression along with JS code I could copy into a node REPL for testing. It didn't get the task right immediately but we were able to iterate until we got the right solution. My regex-fu is weak when it comes to backtracking so this saved me a lot of time.