Added optional

This commit is contained in:
2024-01-04 08:02:08 +01:00
parent 2a60cecf2a
commit e96d6a222f

View File

@@ -79,7 +79,7 @@ This name allows to have readable code sending data to parent module:
- Functions ought to have descriptive name
- Ought to do one thing. ie. function sendRequest should send request, but not prepare request body or process response data
- In practice, if function has more than 10 SLoC, it probably should be split
- DO NOT use "any" type. Just don't.
- DO NOT use "any" type. Just don't. *Optional
- Function used in other function should be placed below it (if possible, as function can be called from many places in the code)
#### Rules regarding variables and refs: