Global Feed Post Login
Replying to Avatar jb55

One of things i find myself doing a lot these days is getting chatgpt to write a function and then using another chat instance to check the code. I’ll do this over and over until all the bugs are caught. Since each chat is like a new code reviewer it often finds all of the bugs after many iterations.

I’ll even give the code review from one of the AIs to the one who wrote the code, it will then give a different implementation based on the ai review. I then give that implementation to the reviewers implementation and ask if its better or not. I can very quickly get to an optimized and less buggy function this way.

This feels very *human*. This is exactly how code review tends to play out in meatspace.

Demo:

https://chat.openai.com/share/a3ac3201-eee8-4d69-9671-e1e8dd9c2917

https://chat.openai.com/share/21c189a6-f29e-4e31-b163-5f009cc48e1b

Avatar
jb55 2y ago

I still don’t know how this works, so now i will get the ai to explain each line step by step

Reply to this note

Please Login to reply.

Discussion

Avatar
Mitsubishi Kodomo 2y ago

👌

Thread collapsed
86
86eb3e12... 2y ago

putting Damus code in ChatGPT and asking it to ELI5

tell no one this life hack

Thread collapsed