cpp-best-practices / cpp-best-practices/cppbestpractices
A case against UPPERCASE constants
Aperta
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 8.8k
- Fork
- 902
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
My argument is that avoiding all-uppercase for all non-macros avoids those hard to understand errors you get when you use a constant or enum value that was already defined in some external header.
Ever had to do `#undef ERROR` after including _Windows.h_ ?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.