Hacker News new | ask | show | jobs
by _ea1k 1032 days ago
It really depends on what you are doing, in my experience. I often ask for code when I know there will be a decent amount of difficult to remember boilerplate. It will do a decent enough job to save some typing and get me a framework to work within.

It is pretty good at writing little DTOs based upon a sample JSON too.

But harder questions for poorly documented libraries will exhibit a lot of the same challenges as Googling.

1 comments

Same experience: if you're trying to do something unusual (an obscure library, or a task that has minimal documentation and few usage examples in the wild), the results are usually bad, and it will very frequently try to call functions which don't exist.