you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 2 years ago (2 children)

I also use it a lot for unit tests. It helps a lot when you have to write multiple edge cases, and even find new one at times. Like putting a random int in an enum field (enumField = (myEnum)1000), I didn't knew you could do that...

  • source
  • parent
  • hideshow 4 child comments
  • [–] 5 points 2 years ago

    Yeah. I've found new logic by asking GPT for improvements on my code or suggestions.

    I cut the size of a function in half once using a suggested recursive loop and it blew my mind.

    Feels like having a peer to do a code review on hand at all times.

  • source
  • parent