DEV Community

Discussion on: A compiler is She/Her? 🤔

Collapse
 
combinatorylogic profile image
combinatorylogic

That's exactly an example of a bad error message. The intention to be helpful was good, but, as usual, resulted in even more confusion.

The right wording should have been "a semicolon might be missing" - as compiler does not really know that this was your intention. Maybe you just accidentally inserted an extra ) so it's now thinking that the statement is finished, while you still have few more function arguments to add at this point.