DEV Community

Cover image for Top 20 Tips that will change your coding skills forever

Top 20 Tips that will change your coding skills forever

Chaitanya Prabuddha on May 26, 2021

In this small article, I am going to talk about my top 20 tips that can change your coding forever. This article is a summary of all the points, En...
Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

.If you can' solve a problem, just copy-paste with google, its the best way to solve it.

Dear merciful heavens, NO! NEVER copy-paste. If you're going to use code you found, retype it and understand it completely. Failing to do so introduces technical debt (bad!), increases the likelihood of bugs you won't know how to solve, and stunts your growth as a developer.

It's okay to use code found online, but you should always take the time to understand it.

On that note...

Try writing readable code, as you are the only one who will fix it in future.

In practice, you are probably not the only one who will fix it in the future. For production code, someone else is going to have to wrap their head around your code sooner or later. Even more reason to make it readable.

Collapse
 
line profile image
Chaitanya Prabuddha

I actually wanna mean that only, don't just copy and paste, memorize it also!

Collapse
 
albertpak profile image
Al

100% "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."

Collapse
 
ryencode profile image
Ryan Brown

Turns out the next guy for me.... is usually me. And this is true.

Collapse
 
line profile image
Chaitanya Prabuddha

Lmao

Collapse
 
line profile image
Chaitanya Prabuddha

Amazing!