Skip to content
View in the app

A better way to browse. Learn more.

Learn more

ChatGPT and Coding

Featured Replies

  • AM changed the title to ChatGPT and Coding
  • Author

"program me a sorting algorithm in common lisp, which shows me all sorting cycles. Input: list of values. Output: all cycles of the sorting process."

interesting! ChatGPT tells me how the code works, but it has a BUG 😀 doesn't work

 

 

 

 

Yes, it is full of bugs. I tried all kind of code with mix success. You need a lot of patience to get the correct code - try and try again 🙂

But still the def-score is almost perfect.

 

  • Author

only trust your own code 😉

 

For actual code output suggestions, GitHub Copilot would be a way better option. I am not sure if it can be easily integrated, though.
Moreover, GPT-* has knowledge about OMN up to 2021 only so that leads to some wrong function names too.

I agree completely. I too have experimented with GPT3.5 API (waiting for access to GPT 4) and I have learnt that we should be cautious while depending on this system. It tends to generate a lot of incorrect stuff, at the same time appearing to be quite knowledgeable!

 

I am sure these tools will improve over a period of time, but I feel they lack the "creativity" of humans. I don't want to wade into any controversy ...!

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.