Hello
This is a little story while using Bing Chat today to write some source code
in the Ring programming language
Today I tried to use Bing Chat to write some Ring code
I started my question by saying "Write a Ring program"
He asked me about what I mean with Ring and provided some options
One of these options is (Ring language) so I selected it.
He wrote aroud 20 lines of Ring code
The code using Read() function to get input from the Keyboard
This is wrong, So I told him that the language doesn't have the Read() function
He told me that I am wrong and provided me with a link that contains
the documentation of this function:
https://ring-lang.github.io/doc1.17/files.html#read-functionOk, Now I remember, We have the Read() function but it's used for
reading files, not for getting input using the Keyboard
I told him to replace the Read() function with the GetString() function
He told me that Ring doesn't have a GetString() function
And said it's a user function, and provided some Ring code to implement it.
Oh! This is old information but How He can know that the language
doesn't have this function!
I checked the Reference provided by Bing Chat
I was expecting some documentation
But the Reference was a C source code file in this folder
https://github.com/ring-lang/ring/tree/master/language/srcIt's the implementation of the language!
So He answered this question based on his knowledge about Ring
implementation!
In the begining of this chat I was afraid that Bing Chat will not know
the Ring language because it's a new language!
But, It looks like He know too much! even the source code used in the
language implementation! This is dangerous!