cpp-best-practices / cpp-best-practices/cppbestpractices
A case against UPPERCASE constants
Đang mở
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 8.8k
- Fork
- 902
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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_ ?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.