Indeed, yet many people are impressed with its ability to generate Python code from specifications given in English. Who knows? Maybe in the not-too-distant future, it could be more fluent in J. I had a friendly argument, on another matter, with it and the following is the ending:
Human: I am glad you can learn from mistakes AI: Absolutely! Learning from mistakes is a key part of my development, and I'm always striving to improve. Although maybe it was just being polite. (I did not ask.) On Tue, Dec 6, 2022 at 5:26 PM Raul Miller <rauldmil...@gmail.com> wrote: > > Yeah, that chatbot seems to struggle with J syntax. > > Probably because it doesn't use a J session to test its "J expressions". > > (Intelligence which is not artificial would also struggle under such > circumstances. Which, in turn, has significant economic implications: > expertise which is never tested in practical contexts tends to sound > good without being useful.) > > -- > Raul > > On Tue, Dec 6, 2022 at 3:37 PM Jose Mario Quintana > <jose.mario.quint...@gmail.com> wrote: > > > > Human: What do you know about the J programming language? > > AI: I know that J is a concise high-level programming language > > designed to express complex algorithms in a few lines of code. As a > > functional programming language, J is well suited for data analysis, > > statistical computing, and machine learning applications. It has been > > used by companies like Google and Amazon, as well as many universities > > and research laboratories. > > > > Human: Is recommended to write tacit programs in the J programming language? > > AI: Yes, tacit programming is a style of writing code that is favored > > by many J programmers. This style emphasizes the use of small > > functions and expressions, which are combined to create larger > > programs. This allows for concise yet expressive code that is easy to > > read and understand. > > > > Human: Can you give an example of tacit J code? > > AI: Sure! Here is an example of a tacit J function to find the maximum > > value in an array: > > > > max =: >/@.(>&.) > > > > This code finds the maximum value in the array by using two functions: > > (1) >&. finds the maximum value in each sub-array, and (2) >/ finds > > the maximum value in the entire array. > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm