-
Notifications
You must be signed in to change notification settings - Fork 704
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
Clarify capitalization of abbr and acronym #5876
Conversation
Visit the preview URL for this PR (updated for commit e9cc0a4): |
src/content/effective-dart/style.md
Outdated
// Longer than two letters, so always like a word: | ||
Http // "hypertext transfer protocol" | ||
Nasa // "national aeronautics and space administration" | ||
Uri // "uniform resource locator" | ||
Esq // "esquire" | ||
Ave // "avenue" | ||
|
||
// Two letters, capitalized in English, so capitalized in an identifier: | ||
ID // "identifier", capitalized as "ID" | ||
TV // "television" | ||
DB // "database", originally an acronym from "data base" | ||
IO // "input/output" | ||
UI // "user interface" | ||
|
||
// Two letters, not capitalized in English, so like a word in an identifier: | ||
Mr // "mister" | ||
St // "street" | ||
Rd // "road" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both this (and the "bad" list lines 246-260) seem really long. I'd suggest 2-3 examples per category max
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can trim the middle list, but the first list has 4 and 3 letter examples that are helpful.
Removed dependent clauses Co-authored-by: Marya <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes list length.
src/content/effective-dart/style.md
Outdated
ID // "identifier", capitalized as "ID" | ||
TV // "television" | ||
DB // "database", originally an acronym from "data base" | ||
IO // "input/output" | ||
UI // "user interface" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue:
ID // "identifier", capitalized as "ID" | |
TV // "television" | |
DB // "database", originally an acronym from "data base" | |
IO // "input/output" | |
UI // "user interface" | |
ID // "identifier" | |
TV // "television" | |
UI // "user interface" |
Thanks for your contribution! Please replace this text with a description of what this PR is changing or adding and why, list any relevant issues, and review the contribution guidelines below.
Fixes #4111
Contribution guidelines:
dart format
.<?code-excerpt
need to be updated in their source.dart
file as well.