Type Naming Conventions
[!When to have a plural type name?]- only for arrays
[!Why should types always be Pascal case?]- so the syntax highlighter doesn't get confused
Generics¶
T
- or prefixed with T
TData
[!Better generic name]-
Why isn't this good?
What if you want to turn an interface into a type? - or vice versa? - unnecessary refactoring - just hover over to see the type definition
Last update:
2023-04-24