This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Review Guide | |
- Value should be changed at once (only inside method can be changed 2 times in the wrost case if try catch is used.) | |
- Static Values should never be changed outside of the instance. (exception) | |
- Try to keep all the Static items to readonly. (exception : if changed inside class. There has to be a good reason for it.) | |
- All the magic `""` should be `constant` or `static readonly` | |
- Most of the created items should be readonly | |
- All the parameters should take Interfaces and output interface except for primitive type or JsonModel or DbModel. | |
- Every method should not have more than 3 arguments (worst), except for Utiliy or Helper static methods | |
- Restrictions only one time use methods can have more arguments. | |
- Solution wrap and create interface (parameter type interface) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cloningUtility = require('./utilities/cloningUtility').CloningUtility; | |
cloningUtility.performClone(); | |
console.log('-------------') | |
console.log('') | |
console.log('') | |
console.log('-------------') | |
const path = require( "path" ); |