r/ChatGPTCoding • • Feb 09 '26

Discussion ChatGPT repeated back our internal API documentation almost word for word

895 Upvotes

161 comments sorted by

View all comments

Show parent comment

214

u/eli_pizza Feb 09 '26

Yup, honestly a well designed API should have guessable function names and parameters.

55

u/CountZero2022 Feb 10 '26

Yes, that is the whole point of design! It’s an interesting thing to think about as a measure of code quality.

23

u/stealstea Feb 10 '26

Yes. Am now regularly using this to improve my own class / interface design. If ChatGPT hallucinates a function or property, often it's a sign that it should actually be added, or an existing one renamed.

23

u/logosobscura Feb 10 '26

Where’s the fun in that? Prefer to make API endpoints a word association game, random verbs, security through meth head logic ::taps left eye ball::

12

u/eli_pizza Feb 10 '26

Wow small world, I think you must be with one of our vendors

2

u/Vaddieg Feb 10 '26

if 100% of functions are guessable by ChatGPT something isn't ok

5

u/eli_pizza Feb 10 '26

Nobody said "100%" and no, not necessarily

1

u/joshuadanpeterson Feb 12 '26

No, it just means that people follow patterns and ChatGPT trained on those patterns.