Hacker News new | ask | show | jobs
by sawyna 1180 days ago
I'm pretty much the same. I don't find significant productivity gains from using it - maybe because I have a specific way of doing things already. For instance, I know it's better for me to understand React/whatever framework rather than letting chatgpt write the react state/reducers/etc and all that stuff.

I can definitely use it for emails and have used to simplify exec emails in my company but that's just it.

1 comments

Understanding a topic and letting chatgpt do repetitive and simple boilerplate stuff are not exclusive.
I'm fascinated by people saying they use GPT for boilerplate. Whenever I find myself doing simple/repetitive stuff, I tend to stop in my tracks and make that go away. Usually following the rule of three: If I do something for a second time, I don't generalise/generate just yet. If I need it a third time, I sit down and do it. Is that unusual? That said, I am mostly working with high level languages that make this generalisation relatively easy.
Where I have found GPT and/or tools like that somewhat useful when playing with them is in writing tests.

Boilerplate code is usually refactor-able away, yes.

But tests are kind of intrinsically boilerplate by definition. There are test and fuzzing and provability systems that definitely help automate. But on the whole, writing a test harness + unit tests is often like writing the whole system over again.

I feel like this might be the one long term useful thing I get out of these coding assistants for my own work: read this interface and implementation I've written. Now write a boatload of negative test cases to verify correctness.