Added optional
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user