Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I didn't realize this was a bigger trend, I asked it to write a simple testing script that POSTed a string to a local HTTP server as JSON, and it wrote a 40 line script, handling any possible error. I just wanted two lines.


same issue here! isn’t even helpful because if the code isn’t working i want it to fail, not just skip over errors


Exactly! It using try -> except -> print is the EXACT same as the default error print to STDOUT in 99% of cases. It just assumes we need that or something will get hurt.


Yes, as late as earlier today, I asked it to provide "naive" code which helped a bit.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: