<div dir="ltr"><div>Also coming out of some of the other discussions[1][2] I think there is one table from a paper[3] that feels relevant to the discussion.<br><font face="monospace"><br>| Compiler Error Message | n | % |<br>|---------------------------------------|-------|-------|<br>| cannot find symbol | 4,614 | 16.0% |<br>| ‘)’ expected | 3,317 | 11.5% |<br>| ‘;’ expected | 3,076 | 10.7% |<br>| not a statement | 2,142 | 7.4% |<br>| illegal start of expression | 1,825 | 6.3% |<br>| reached end of file while parsing | 1,406 | 4.9% |<br>| illegal start of type | 1,316 | 4.6% |<br>| ‘else’ without ‘if’ | 1,141 | 4.0% |<br>| bad operand types for binary operator | 1,138 | 3.9% |<br>| <identifier> expected | 1,091 | 3.8% |<br></font><br>This shows the frequency at which their sample of students ran into different errors.[4]<br><br><br><br>[1]: <a href="https://www.reddit.com/r/programming/comments/15qzny5/better_java_compiler_error_messages/">https://www.reddit.com/r/programming/comments/15qzny5/better_java_compiler_error_messages/</a><br>[2]: <a href="https://www.reddit.com/r/java/comments/15qzkh9/better_java_compiler_error_messages/">https://www.reddit.com/r/java/comments/15qzkh9/better_java_compiler_error_messages/</a><br>[3]: <a href="https://drive.google.com/file/d/1GUj-KQMzWhuWTk7ksAIgABKiGkHseHQL/view?usp=sharing">https://drive.google.com/file/d/1GUj-KQMzWhuWTk7ksAIgABKiGkHseHQL/view?usp=sharing</a><br>[4]: I don't know whether this generalizes to the language as it will exist in the future or whether that particular paper is reliable, but it's a start.</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
</div>
</blockquote></div>
</blockquote></div></div>