How to become a better programmer
Programming is an art and the artist is a programmer. so to make your art beautiful you should be a good artist. today I will share some tips on how we can be better programmers. so let's start……
#0 Read other's code:
Reading others' code is an underrated skill. it will help you to become a better programmer. by reading others' code will you learn about how they think to solve a particular problem. it will definitely help you to enhance your thinking skill. so how and where you can read other code? there are a lot of areas where you can do this. for example
1. you can solve problem in different online judge like Leetcode,codeforces etc. when you will solve a problem then you can see others solutions.
2. you can read code from github repo that will also help you
that's it now can start this habit….
#1 Don't blindly copy and paste:
every day in our development life we face difficulties and search for them on the internet. if we found this solution we just copy and paste the code into your codebase. it is dangerous!! it will definitely kill your power of understanding. don't just copy and paste. you can follow these steps:
1. if found a solution just read it. try to understand what is going on.
2. now write this code by yourself. when you will write code your brain will try to understand what is going on and next time you face this problem you can solve it by yourself.
#2 Learn to google:
Google is the best friend of a progammer.
googling is easy but finding the most useful resource is not easy. as a programmer we have to be smart in googling so that we can find the right resource easily.
There are a lot of tips and tricks on how we can easily find our desired result from giant google. just search on google you will find a lot of tips and tricks.
#3 Don't stop learning:
A true programmer never stops learning.
As a programmer, you have to be dynamic. Technology is changing day by day so you should be up to date with technology. you can read blogs, and mediums, and listen to podcasts on a specific topic. you should learn but don’t learn everything. Be realistic. You’re not going to learn everything there is to know. Try to find out what is especially meaningful to you and focus on that. if you learn everything ends of the day you will ultimately master nothing. so don't stop learning but learn what is more suited for you.
#4 Learn Techniques, not tools:
It is a common fact that most of your developers run after language or framework. Language and framework can be changed but basics can not be changed so before focusing on different tools learn the fundamental concept. try to learn different algorithms, data structures, network security, system design, etc.
Thanks for your time and for reading my article. if you think it is informatics then give a clap and let me know your suggestion or tips in a comment.