6 useful tips from 11-year experienced programmers
- Master CSS Flexbox in just 5 minutes
- 5 interesting HTML and CSS features to look forward to in 2018
- Learn Ruby programming from 0
The author of this article is Aman Gautam , currently co-founder of Elpis Design. With 11 years of experience in programming and making products, Gautam has shared ideas to improve the thinking of many young programmers and experienced programmers.
I have been programming for nearly 11 years. One thing that I am absolutely sure is to become a good programmer that just knowing code is never enough. You need to do more or simply a few small changes (not easy).
Here are 6 helpful tips to help you become a better programmer in the future.
1. Write code for others to read
When writing code, you should be mindful that there will be a junior developer two years later (less than 2 years of programming experience) fixing your code. So:
- Name functions and variables explicitly
- Explain the feature of the code with inline comments (inline comments)
- Clearly commit messages
- Write documents like README with installation instructions and code to make it easy for new people to catch
- Think of documentation as an important part of base code that needs to be reviewed and restructured continuously.
Imagine that you are writing code for some "idiot" who will be immersed in your code in the future. Write to them, do not write riddles!
Optimizing code is important but making it easier to understand is necessary. Remember!
2. Write a test case
The best products I've worked with are more than 85% -95% tested thoroughly. This is like a big commitment, especially for indie developers.
Obviously, you can't test everything, but at the very least, write test cases for critical parts that easily fail and change in the future.
Writing unit or integration test seems to be something bothersome and expensive, but it is actually cheaper than fixing bugs when delivering products to actual users.
3. Use your tool
As you know, it will take a long time to try the new tool (like the IDE) until you become familiar. In general, it will take a long time for people and tools to merge.
Yet, there are many developers who change tools, languages or frameworks on a regular basis. Of course, I do not object to this change myself, but do not agree to change too often.
You don't need to be too loyal to a single tool, but don't overdo it with other tools. Believe me guys!
4. What type must be deployed
I have witnessed so many projects forever in the dark. Most developers have 2 categories:
- Perfectionist : This character never launches if it is not perfect from beginning to end.
- Procrastinator (Delayed): This character will always buy time and never finish anything perfect. Don't let these traits appear in you and stop doing it if you don't have a good product. Do not let these things affect you.
5. Follow your rules to the end
If the doctor often washes his or her hands well before each operation, the programmer should also test the things he / she writes before going out.
Many employers / customers will feel strange when a certain programmer wants to write test cases before writing the actual code. However, please keep following your rules, even if you are blind!
In fact, your customer or boss may not be able to fully understand the technical processing steps required for some products, so you have a responsibility to "disseminate" the problem to them. Help them understand the process of making it, just like a doctor must wash his hands before surgery.
Every individual has their own rules. So if you want to be a good programmer, practice a lot!
6. Learn a new programming language
Try learning a new programming language every year, someday in the future you will use it. The key issue is not learning more programming skills but it will help you have a new way of thinking.
For example, I myself have a Java and C ++ platform before but it also takes me quite a long time to 'digest' the fact that we can run a program in PHP without the main
function.
After working on PHP-Apache based on urls (eg home.php), Python's way of deploying routes and URIs is almost a shock to me. My mind was fully opened. Learn a new language that helps you ask questions against the problems you encounter in the previous language.
Take action! If you want to be a good programmer, you need to change.
Refer to some more articles:
- 26 useful websites should track if you are a web developer
- Top 6 qualities of IT employers looking for in 2018
- If you are a Web Developer, don't miss out on these 67 useful tools, libraries and resources!
Having fun!
You should read it
- How does programming affect our brains?
- Bookmark a few tricks to help you master a programming language
- Top 5 best programming languages for kids today
- 10 useful tips for new programmers
- The worst programming languages you need to avoid if you don't want to 'bury the youth'
- Set of multiple choice questions about programming with P7 prize
- Set of multiple choice questions about programming with P10 prize
- 27 things I wish I knew before programming
- P13 programming set of multiple choice questions
- The most important programming languages in the Internet of Things era
- Do you know the 15 hottest programming languages on this GitHub?
- Should we learn many programming languages or just one?
Maybe you are interested
How to Share Your Exact Location with Google Plus Codes
More than 200 apps containing malicious code were discovered and downloaded millions of times on the Google Play Store.
7 best barcode scanning apps on phones
Latest Pet Simulator X 2022 Codes and How to Enter Codes
Latest Project Smash Roblox Codes
Latest Eatventure Code 2024 get free coins and diamonds