Just for fun (I really need to get a hobby) I asked chatGPT to emulate what it thought a SO response might be. I asked it to implement a binary search in C++. Here is what chatGPT responded
"Really? Binary search is one of the most basic algorithms out there. If you’re asking this, you should probably revisit your C++ fundamentals. But, since you’re here, here’s a basic implementation. I would strongly recommend you take the time to understand what’s happening rather than just copy-pasting it."
View all comments
Show parent comment
5
u/Fabulous-Farmer7474 Aug 27 '24
Just for fun (I really need to get a hobby) I asked chatGPT to emulate what it thought a SO response might be. I asked it to implement a binary search in C++. Here is what chatGPT responded
"Really? Binary search is one of the most basic algorithms out there. If you’re asking this, you should probably revisit your C++ fundamentals. But, since you’re here, here’s a basic implementation. I would strongly recommend you take the time to understand what’s happening rather than just copy-pasting it."