-
Notifications
You must be signed in to change notification settings - Fork 449
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
Chapter "Avoid abbreviations" #346
Comments
Thanks for the contribution, but... 😉
|
Done ! :-) |
and the title? |
Done |
The online help also provides some good guidance on when to abbreviate and when to remove vowels. See under Descriptive Names: If no common abbreviation exists, you should proceed as follows: Vowels are omitted, unless they are the first letter of the word. They are of minor significance for the recognition value. If a word starts with a double vowel, both letters are kept for ease of recognition (for example, outbnd as the abbreviation for outbound instead of otbnd). If further abbreviations are required, you can replace double consonants with single consonants. Even after this step, the word is generally still recognizable. Or in German here |
I think the suggestion in the guide is actually correct, but as so often not sufficiently explained. Here's my take on how getting rid of unimportant words makes more sense than abbreviating vowels. For instance, in languages with unrestricted identifier length (which is, uh, all languages that aren't ABAP...), it's common to have long unit test names of the form This obviously doesn't work in ABAP, but is the variant This is my interpretation of the "start with the unimportant words" suggestion - we got rid of the Of course, you might not have any such unimportant words and still hit the character limit. In that case, I agree the vowels will have to go :) |
Chapter abrevations says:
"If you do have to abbreviate, start with the unimportant words."
It would be far better to do without "vowels". Scientific studies have shown that the text remains comprehensible.
thanks regards, Mario
The text was updated successfully, but these errors were encountered: