Revision 2d14724965e085f00c37c2f8779f5f4f107790f2 authored by alkavats1 on 05 January 2022, 20:36:10 UTC, committed by Andrew Scott on 05 January 2022, 23:21:10 UTC
fix the url link format from http to https in i18-common-locale-id.md file PR Close #44638
1 parent e39f804
NAMING.md
Naming Conventions in Angular
---
In general Angular should follow TypeScript naming conventions.
See: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines
Classes:
- Example: `Compiler`, `ApplicationMetadata`
- Camel case with first letter uppercase
- In general prefer single words. (This is so that when appending `Proto` or `Factory` the class
is still reasonable to work with.)
- Should not end with `Impl` or any other word which describes a specific implementation of an
interface.
Interfaces:
- Follow the same rules as Classes
- Should not have `I` or `Interface` in the name or any other way of identifying it as an interface.
Methods and functions:
- Example: `bootstrap`, `someMethod`
- Should be camel case with first letter lowercase
Constants:
- Example: `CORE_DIRECTIVES`
- Should be all uppercase with SNAKE_CASE
Computing file changes ...