Skip to content
/ ifj23 Public

Project for IFJ and IAL. Compiler of subset of swift.

Notifications You must be signed in to change notification settings

BonnyAD9/ifj23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project for IFJ and IAL


-> Coding style rules:

1. Indentation:                     4 spaces
2. Variable and function names:     snake_case
    f.e. name_of_function (...)
3. Type and structure names:        PascalCase
    f.e. StructName {...}
4. Constant/maker names:            SCREAMING_SNAKE_CASE
    f.e. #define CONST_NAME 1
5. Pointers names:                  with var's name
    e.g. int *name;
6. Compound parentheses:            on the same line
    f.e. method (...) {
        ...
    }
7. Spaces around binary operators
    f.e. a + b;
8. For, while, if:                 spaces before the bracket
    f.e. for (...)
9. Spaces after a comma, semicolon, bracket

-> Push strategy: requests -> Max line length: 80 columns