News for hackers. Stuff that matters.
Re:Claude 2 Internal API Client and CLI by jerrygenser on Friday July 14, 2023 @04:24PM (#36729429)
It's good for general things but less good at coding. Can usually get the correct answer for simpler things but much less idiomatic for python than gpt4
Re:Claude 2 Internal API Client and CLI by ec109685 on Friday July 14, 2023 @04:31PM (#36729508)
For javascript, it did just as well as gpt-4 for several questions and used more modern JavaScript syntax.

First time I have felt something feel nearly as good, and the user interface is a bit nicer.

Re:Claude 2 Internal API Client and CLI by speedgoose on Friday July 14, 2023 @04:37PM (#36729579)
Does it uses the ECMAScript modules instead of the CommonJS modules by default?
Re:Claude 2 Internal API Client and CLI by ec109685 on Saturday July 15, 2023 @04:37PM (#36740713)
No, but it tends to use const more and the code looks more natural whereas gpt-4 has a single operation per line (but maybe gpt-4 easier to follow).

For both you can prompt it to use module syntax.

I am excited about GitHub Copilot X given you’ll get the best of ChatGPG and Copilot, making the tool much more useful.