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

It's 11PM and the unclosed curly bracket here is going to prevent me from sleeping.

Did you mean ``` {"foo":{"bar":"baz"}} ```

?

By the way, have you had success at asking GPT to generate unit tests that include edge cases? I've been wondering about that.



I did mean that I apologize for the missed }.

I haven't had much luck slot of the time it just adds a comment saying "rest of tests here" which is annoying.

I have had good success with it generating things like JSDOC/doc strings and sending git diff and asking it to create a "developer friendly summary for use in a pull request description"

This has definitely increased my work output




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

Search: