News for hackers. Stuff that matters.
Re:Compiler Errors for Humans (2015) by jdkoeck on Thursday November 24, 2022 @02:39PM (#33735389)
> line: 56 column: 97, s/int/string/

Sorry, but that’s the least accessible error message I have ever read.

Re:Compiler Errors for Humans (2015) by capableweb on Thursday November 24, 2022 @03:50PM (#33736077)
You haven't dealt with PHP by any chance, have you?

Not saying the above is good/bad, just saying that there are (was) worse offenders out there for sure.

Re:Compiler Errors for Humans (2015) by Existenceblinks on Thursday November 24, 2022 @04:42PM (#33736558)
Half serious, I think JS' "undefined is not a function" wouldn't be terrible if it tells me where it lost its value. The message itself is already ok.
Re:Compiler Errors for Humans (2015) by Existenceblinks on Thursday November 24, 2022 @04:21PM (#33736361)
I suspect the downvoter misinterprets my "example". s/int/string/ meant to be semantics. Something like diff in test or text diff with semantic help.