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 s…


This content originally appeared on DEV Community and was authored by DHANUSH N

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

Coding

? 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

https://eslint.org/

? 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


This content originally appeared on DEV Community and was authored by DHANUSH N


Print Share Comment Cite Upload Translate Updates
APA

DHANUSH N | Sciencx (2021-07-18T16:48:05+00:00) Developer tips you need to know. Retrieved from https://www.scien.cx/2021/07/18/developer-tips-you-need-to-know/

MLA
" » Developer tips you need to know." DHANUSH N | Sciencx - Sunday July 18, 2021, https://www.scien.cx/2021/07/18/developer-tips-you-need-to-know/
HARVARD
DHANUSH N | Sciencx Sunday July 18, 2021 » Developer tips you need to know., viewed ,<https://www.scien.cx/2021/07/18/developer-tips-you-need-to-know/>
VANCOUVER
DHANUSH N | Sciencx - » Developer tips you need to know. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/07/18/developer-tips-you-need-to-know/
CHICAGO
" » Developer tips you need to know." DHANUSH N | Sciencx - Accessed . https://www.scien.cx/2021/07/18/developer-tips-you-need-to-know/
IEEE
" » Developer tips you need to know." DHANUSH N | Sciencx [Online]. Available: https://www.scien.cx/2021/07/18/developer-tips-you-need-to-know/. [Accessed: ]
rf:citation
» Developer tips you need to know | DHANUSH N | Sciencx | https://www.scien.cx/2021/07/18/developer-tips-you-need-to-know/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.