This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |
public:computer:coding_rules [2021/12/07 14:07] – [Coding Conventions] alex | public:computer:coding_rules [2021/12/07 14:54] (current) – [Coding Conventions] alex |
---|
| snake_case \\ c_case | | variables at Python, PHP, c, etc. | snake_case | | | snake_case \\ c_case | | variables at Python, PHP, c, etc. | snake_case | |
| UPPER_CASE_SNAKE_CASE (UPPER_CASE) \\ MACRO_CASE | | | UPPER_CASE_SNAKE_CASE | | | UPPER_CASE_SNAKE_CASE (UPPER_CASE) \\ MACRO_CASE | | | UPPER_CASE_SNAKE_CASE | |
| COBOL-CASE \\ TRAIN-CASE | | | COBOL-CASE | | | COBOL-CASE \\ TRAIN-CASE | | | COBOL-CASE, HTTP-Header-Case | |
| | undercore notation | prefixed by "_" followed by camelCase | | _idUser | |
| | Hungarian Notation | variable names prefixed by metadata data-types which is out-dated | C++, MFC | strUsername | |
| |
| |
* [[https://chaseadams.io/posts/most-common-programming-case-types/|Most Common Programming Case Types]] | * [[https://chaseadams.io/posts/most-common-programming-case-types/|Most Common Programming Case Types]] |
| * [[https://stackoverflow.com/questions/17326185/what-are-the-different-kinds-of-cases|What are the different kinds of cases? @stackoverflow]] |