Stream: compiler development

Topic: error messages


view this post on Zulip Luke Boswell (Jul 28 2024 at 03:31):

Do we have any guiding principals for error messages?

view this post on Zulip Luke Boswell (Jul 28 2024 at 03:31):

Specifically the way we write the wording.

view this post on Zulip Luke Boswell (Jul 28 2024 at 03:32):

It seems we are writing these in the first person from the compilers perspective - using words like I was trying to parse X but couldn't..

view this post on Zulip Luke Boswell (Jul 28 2024 at 03:34):

I found Evan's blog article interesting https://elm-lang.org/news/compiler-errors-for-humans

view this post on Zulip Luke Boswell (Jul 28 2024 at 03:37):

I'm just wondering if we have anything written down already

view this post on Zulip Anton (Jul 29 2024 at 08:49):

Good point, I think @Richard Feldman has looked into the research on error messages

view this post on Zulip Richard Feldman (Jul 29 2024 at 12:42):

yeah first person is the way to go

view this post on Zulip Richard Feldman (Jul 29 2024 at 12:43):

we didn't do that with the original error messages, but making them first person is good now that we know it's what we want!


Last updated: Jul 06 2025 at 12:14 UTC