Developer tips you need to know

Before building a website

People usually say to learn HTML, Css or Javascript or any web technologies

Or backend like node js, mongo, firebase etc.

But there is something more important than that before getting started / while building

πŸ“Œ Make sure you have a proper folder structure before writing the code

You cannot just fill code in your app just like that

πŸ“Œ Make sure the number of lines in a file doesn't exceed a specific limit

And incase it exceeds make sure you split the code into different modules or files

πŸ“Œ The character limit of the line of code also shouldn't exceed much

You can check some of the eslint best practices for this

πŸ“Œ Make sure you add comments in the code. Even if you are a pro in coding if someone else views your code they must be able to understand

πŸ“Œ Have meaningful names,

let a = 10 ❌
let num1 = 10 βœ…

πŸ“Œ When building also make sure you use constants and make sure similar code is not repeated.

πŸ“Œ There is something called TDD -
Test Driven Development

Most don't use it, make sure you write test cases both frontend and backend it is essential for building a perfect application

πŸ“Œ An app created with test cases will be more noticed than a normal app especially in interviews

πŸ“Œ Even after developing an app and pushing your code in git make sure you specify the version (Eg- node or react version ) of the technology you have used

πŸ“Œ Because somecases people may clone your repository & if it doesn't work your work may get unnoticed

πŸ“Œ Above are some of the points which I look into working on other people's code especially

Or when I develop applications

If you have any more input feel free to mention in the comments below.

If you find this post valuable share it with your friends

For more tech information & developer tips stay connected with me via Twitter

40