3 ms·
>GPT4 is really good at code for popular languages, though for JS it most of the time outputs obsolete syntax and code. Today i tried to do a bit of scripting
by simion314 3y ago
>GPT4 is really good at code
for popular languages, though for JS it most of the time outputs obsolete syntax and code.
Today i tried to do a bit of scripting with my son in Garrys Mod, it uses Expression 2 for a Wiremod module. GPT hallucinated a lot of functions and the worst part it switched almost each time from e2 to lua.
It is good at solving homeworks for students, or solving popular problems in popular languages and libraries though it might give you an ugly solution and ugly code, it is probably trained on bad code too and it did not learn to prefer good code over bad code.
- TX81Z 3y agoI’ve been writing JavaScript for 25 years and have always felt it has utterly trash syntax. I’m not sure that’s 100% on GPT. (And I don’t mean to be rude - I just really hate that syntax!)