-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style guide for written text #377
Comments
One thing to add here is the way the user should be addressed, which I just noticed when revising an explanation. |
This is a good one. My personal preference is to have text that describes the system, rather than the user, because we don't know the user, but that can also feel a bit distant and formal sometimes. What do you prefer? |
I don't have a strong preference, and will follow whatever consistent style we decide on. But I have been researching the design of error messages recently, and there is a nice metastudy on the literature about good error messages: https://dl.acm.org/doi/10.1145/3344429.3372508 Section 8.4 is about research on the tone of error messages. A more anthropomorphized style might be more suitable for novices and younger programmers: "Lee & Ko [113 ] demonstrate effective use of anthropomorphised But this style of explanations would be inconsistent with the way GHC and the other Haskell tools usually explains errors... So I would probably default to the impersonal style. |
There should be a style guide for the documentation, to keep things more consistent, even if it can't be machine checked.
Good points:
code font
$
to indicate shell promptsIdeally, we can do some of this through CI - I'll look around at Markdown-aware style checkers.
The text was updated successfully, but these errors were encountered: