Comment Re:LLMs can't match even braces (Score 1) 54
The code compiles about 50% of the time. It often can't even match braces and will introduce semi-colons in the middle of statements.
That doesn't match my experience at all from C++ and Python. I use the Plus version of ChatGPT, and I've literally never seen it make a syntax error since GPT-4 based models launched. It occassionally produces subtle logic bugs (but so do humans), but we're talking about once in every thousands of lines of code - and never something as basic as matching braces or semi-colons. Given Java has a simpler grammar and is so popular, I would have expected its proficiency in Java to be at least as good.
You mention ChatGPT. Are you sure you are using one of the latest models and one that is recommended at coding? o4-mini-high is described as "Great at coding and visual reasoning"