Change abbreviation guideline
@joeriddles ya está trabajando en esto.
Desde el 29/12/2021.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Currently we have separate rules for abbreviations and acronyms. This proposal brings those together into single rules. The existing rules do not match which what most code does with well-known abbreviations such as: ID (Identifier), Company abbreviations, DB (Database), TM (Trademark), Cert (Certificate), Sig (Signature), etc.
Proposal: Change the following guidelines:
❌ DO NOT use abbreviations or contractions within identifier names.
❌ DO NOT use any acronyms unless they are widely accepted, and even then use them consistently.
✔️ DO capitalize both characters in two-character acronyms, except for the first word of a camelCased identifier.
✔️ DO capitalize only the first character in acronyms with three or more characters, except for the first word of a camelCased identifier.
❌ DO NOT capitalize any of the characters in acronyms at the beginning of a camelCased identifier.
To be:
❌ DO NOT use contractions within identifier names.
⛔ AVOID use any acronyms or abbreviations unless they are widely accepted, and even then, use them consistently.
✔️ DO capitalize only the first character in acronyms or abbreviations with two or more characters, except for the first word of a camelCased identifier.
❌ DO NOT capitalize any of the characters in acronyms or abbreviations at the beginning of a camelCased identifier.
- Lenguaje dominante
- C#
- Estrellas
- 12
- Forks
- 16
- Merge medio
- 2 min
- PR fusionados (30 d)
- 7
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de IntelliTect/CodingGuidelines
-
Overriding ToString() Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
IntelliTect/CodingGuidelines#290 ·
-
proposal: ban List<T>.ForEach Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
IntelliTect/CodingGuidelines#253 ·
-
.editorconfig C# coding guidelines proposal
IntelliTect/CodingGuidelines#249 · 6 comentarios · 1 reacción · 2 asignados ·
-
INTL0001 when using records Abiertoanalyzer C# coding guidelines proposal
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
IntelliTect/CodingGuidelines#231 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
IntelliTect/CodingGuidelines#230 ·
Todos los issues de IntelliTect/CodingGuidelines
Issues similares
-
bug frontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
NavigationViewItemAutomationPeer implements IInvokeProvider but never advertises the Invoke pattern Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
unoplatform/uno#24629 ·
-
agentic-workflows Needs: Triage :mag: State: In-PR
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
CS0162 "Unreachable code detected" warning from a MSBuildTemp .tmp file in every game project Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
-
Type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
apache/arrow-adbc#4809 ·