3 ms·
> You're going to google what the error message says anyway If an error message says: syntax error: unexpected {, expecting ) ...I don't have to google a
by usrbinbash 4y ago
> You're going to google what the error message says anyway
If an error message says:
syntax error: unexpected {, expecting )
...I don't have to google anything. I know that there is a '{' that shouldn't be there, or that something else is missing before it, done.
If the error message would instead read:
syntax error: unexpected NAMIKAKKO, expecting MARUKAKKO
...then I would indeed have to google it, unless I just so happened to know the japanese words for "wave bracket" and "round bracket"
My point is: a good message about an error as simple as an unexpected or missing syntactical element can convey all the information I need to fix the problem, without requiring me to invoke a supremely powerful search engine, indexing the largest repository of collective human knowledge in existence, to make sense of it.