Skip to content

Instantly share code, notes, and snippets.

View aukgit's full-sized avatar
💚
Having great day at work

Md. Alim Ul Karim aukgit

💚
Having great day at work
View GitHub Profile
# 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)
@aukgit
aukgit / app.js
Last active March 25, 2020 13:14
Jest-Sample-Tests-By-Md-AlimUlKarim-aukgit
const cloningUtility = require('./utilities/cloningUtility').CloningUtility;
cloningUtility.performClone();
console.log('-------------')
console.log('')
console.log('')
console.log('-------------')
const path = require( "path" );