This commit is contained in:
Miloslav Ciz 2021-11-13 20:43:06 -06:00
parent f5eff23370
commit 4d84a93c0d
5 changed files with 22 additions and 6 deletions

View file

@ -41,4 +41,4 @@ a = b;
- **Global variables are great**, use them. **Long functions are fine**.
- **Adhere to C99 standard**. You may consider adhering to C89 standard for even better portability (i.e. no declarations in the middle of the code etc.).
- Try to not create many source files, many times your project can very well be in a single file which is the ideal case. If you have multiple files, keep them in the same directory and try to have just a single compilation unit (only one .c file with several .h files). Try to make files no longer than 10k lines.
- **Do not use non-ASCII characters in the source code**.