Credit:• @codingkites 7 Tips for writing clean code JavaScript
.
Post By: @coding.batch
.
this post covers general clean coding guidelines for naming and using variables & functions, as well as some JavaScript specific clean coding best practices
1. Make Code Readable
2. Use Meaningful names
3. Avoid Mental Mapping
4. Minimal Function Arguments
5. Use White Space
6. Don’t Use new Object()
7. Use Strong Type Checks
Use === instead of == . This would help you avoid all sorts of unnecessary problems later on. If not handled properly, it can dramatically affect the program logic.
I hope you find it’s useful 🙌 do you already know that tips 🤔 let me in the comment down below 💬
#programming
#pythonprogramming
#webdevelopment
#python
#backenddeveloper
#100daysofpractice
#javascript
#datascience
#codeknow
#dart
#codinganddecoding
#computerscience
#css
#mobiledevelopment
#gamedevelopment
#codingproblems
#cplusplus
#projects
#100daysofcode
#html5
#fullstackdeveloper
#frontenddeveloper
#webdeveloper
#fullstack
#css3 (at London, United Kingdom)
https://www.instagram.com/p/CL-I01cAcjR/?igshid=6ia2iy7tuy4l