Yesterday I had one try and use Generics in a language that doesn't have Generics and then use a type declaration that is a trivially obvious error at run time. (Qwen both times).
I just asked chatgpt the run time error and this was the entire thing...
> Me: is `?mixed $foobar = null` a error in PHP 8.5?
> ChatGPT: No. In PHP 8.5, this is valid: `mixed $foobar = null` mixed includes null (as well as all other PHP types), so the default value is compatible.
> Me: did you miss the ?
> ChatGPT: Yes <SmileyEmojii> — I missed the ?. ?mixed $foobar = null is an error in PHP 8.5.
If I'd invested trillions of dollars in that industry I'd be getting worried...
Also it using emojii's and words describing emotions just makes my soul shudder.
It's not that they don’t generate useful things, they can and then the next minute they smash into the wall repeatedly because the door is 3ft to the left.
Since it's stochastic by nature you never know which the answer is going to be and they are making the same kinds of mistakes they where making a couple of years ago, I'm not sure it's actually solvable with the current approach.