Have you ever hit a wall in which you feel like your coding is not getting better? After coding for hours upon hours you feel like you are not getting any better at it? In this blog i will give you some tips on how to become a better programmer provided by http://blog.smartbear.com/code-review/tips-for-writing-better-code/.
They broke the tips they got from real programmers into 8 different sections. Selecting the right tools, understanding the role of testing writing and maintaining code, starting with the requirements, education and career development, code review and profiling, collaboration on devlopment teams, and revisitng your writing process.
Lets start with the first section which is selecting the right tools. Part of being a good programmer is staying up to date on the latest tools and new technologies. Learning new technologies and tools may help becuase they may offer betters ways into solving a problem.
Next is the role of testing. Developers suggest that you use Test Driven Devlopment in your coding, with this better code quality comes automatically.
When writing code, you also want to make sure it is maintanable. You want to make sure that it is easy to understand so that new developers who are looking at the code for the first time can understand it quickly. It is very important to write clean code.
Next is starting with the requirements. When doing this you want to make sure the requirements are clear and unambiguous. You need to communicate about them, Forcing the concepts into sentences can help you think about them
Another importand step into becoming a better programmer is learning and education. One developer stated that in order to become a better programmer you should find “good” code, and look at how it is structured. Then try to emulate the practices that are used in the code.
Next is code reviewing. It is importing to review other peoples code and learn from what they do, and to have your own code reviewed. This way you can see what can be improved upon in your programming.
Developer collaboration is also very important in becoming a better programmer. You need to meet with your team and discuss what “better” means to the team. Also it is very important to help eachother out, and learn fom eachother.
Finally is revisiting your writing precess. It is suggested that you spend some time to structure your code before coding it. This helps to avoid rewrites, and makes your code more organized.
Taking the tips from each one of these sections is important if you want to become a better programmer. If you can do all of these things successfully, you will see your code improve dramatically over time.
Other interesting blogs that i looked at are:
Become a better programmer:
https://www.git-tower.com/blog/become-a-better-programmer-5-essentials/
8 Ways to become a better coder:
10 Steps to becoming a better programmer:
http://www.wildbunny.co.uk/blog/2012/11/01/10-steps-to-becoming-a-better-programmer/
10 Golden roles for becoming a better programmer:
http://www.codeshare.co.uk/blog/10-golden-rules-for-becoming-a-better-programmer/
From the blog CS@Worcester – Site Title by jonathanpaizblog and used with permission of the author. All other rights reserved by the author.