I think what it boils down to is that syntactic flexibility and good error 
messages are at odds, simply because the parser can keep going quite a long way 
past the point where it's already clear from the context that the result will 
be semantically invalid, as long as the code happens to be syntactically valid. 
The further it gets from the root cause, the more baffling an error message you 
will get.

Reply via email to