Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

When writing an error prompt, should we end the sentence with a exclamation mark or a dot?

+0
−0

When writing an error prompt, should we end the sentence with a exclamation mark or a dot?

I am writing an application for iPhone and I have some error prompt in my application like "Your password must be 8 character long with alphanumeric characters!" However, I am not completely sold on the idea of putting an exclamation mark (!) on error prompt. Are there situation where it might be warranted, and what about just replacing exclamation marks with dots? Is there a sort of standard among programmers?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

This post was sourced from https://writers.stackexchange.com/q/45600. It is licensed under CC BY-SA 3.0.

0 comment threads

3 answers

+1
−0

I use the blithering idiot test.

Only end an error message with an exclamation mark if the punctuation mark could reasonably be replaced with the phrase "you blithering idiot!"

For example, "this will turn off the life support systems and kill everyone you blithering idiot! Do you wish to continue?" Or "You have entered the wrong password fifteen times in the last ten minutes!"

As an end user, an error message with an exclamation mark feels insulting and so it should only be used in extreme cases. It's ok to use an exclamation mark icon for errors though (c.f. Microsoft Windows).

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

This post was sourced from https://writers.stackexchange.com/a/45627. It is licensed under CC BY-SA 3.0.

0 comment threads

+0
−0

In a technical manual or documentation or anything similar, you wouldn't put emotion into the text. The only reasons to use an exclamation point are to convey strong emotion or a serious warning.

"Your password doesn't meet the criteria" isn't a dangerous situation. There's no need to use anything but a straightforward and calm voice. Just like you would if you were sitting next to someone in person trying to help them set up their app.

I would only use a exclamation point in an error message if there was something very important going on. Either an outright safety issue or the user was about to delete all their data. Unless you're writing an app that's supposed to sound like a person and be all folksy (and please just don't), you wouldn't speak like a person does, with emotion.

The primary purpose of punctuation in messages from an app is readability. Use a period. A period tells the user that your message is now over. Ellipses imply there is more to come, which isn't the case here.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+0
−0

I've been a professional programmer for 40 years, I've written everything from operating systems to business app code to games, and I never use an exclamation point in business or OS code. Ever. Nor ellipsis, why would an error or warning message trail off? Or express any emotion? I use periods, just in case multiple messages are emitted; so they won't run together and be confusing.

The only time emotion is appropriate is if the "error" is being delivered by a character or automated narrator within a game as "speech", e.g. "You have no troops in Seattle, General!"

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »