Click the blue text in the top left corner“Hua Qing Yuan Jian”, follow +★ star mark, to conveniently view Hua Mei’s daily updates
In recent years, the overall environment has been poor, and many people are quite restless.
Including many embedded engineers, many professionals inevitably have anxiety. In the context of massive layoffs in traditional internet companies, embedded systems have a relative advantage as a new generation of information technology.
However, to excel in embedded systems, in addition to persistence and hard work, we sometimes need to learn some methods.
Don’t be intimidated by these words; official documentation is actually a treasure.
A mature technology can be born without blogs or books, but it will certainly have official documentation, which is undoubtedly the most accurate and timely information.
The people who write official documentation are usually the developers of these technologies or software; they are the ones who know these things best, so the quality of the documentation is very high, and the content is usually the latest.
Therefore, official documentation is much more suitable for beginners than various blogs and forums online.
When we encounter many problems and technical details, carefully reviewing the official documentation will clarify many vague issues and understandings.
Programmers should master the ability to learn a technology through official documentation; once you have this ability, you have the foundation to learn any other technology framework; moreover, the original official documentation can also train your self-learning and summarization abilities.
Many people think that Googling everything is a lowly behavior.
But in fact,Ordinary Programmer + Google = Super Programmer. Utilizing search functions well, Google + Stack Overflow + GitHub can solve most of your problems.
So, before asking others for help, try searching for yourself first.
Of course, being a super programmer is not just about knowing how to Google; absorbing and applying what you find on Google is the real skill.
However, whether reading official documentation or programming for Google, you must have a good command of English. This way, you can better read documents and search for what you need.
ITWorld once initiated a vote on “the most headache-inducing thing for programmers,” and the result was thatnearly half of the programmers believe naming is the most headache-inducing thing.
Sometimes when the code is flowing, the naming becomes whimsical, with names like gousheng, tiedan, xiaonaigou, i, j….. While you might be delighted with your creativity, it leaves others confused.
So,whether for internal variables or global variables, you should establish your own naming rules so that the meaning of the variable can be understood at a glance.
Confusing or incorrect naming not only makes our code hard to understand but can also mislead our thinking; conversely, good naming can greatly enhance the readability of our code and significantly improve its maintainability.
Along with naming, there are two other things that give programmers headaches:writing comments is painful, and reading code without comments is painful.
The reason for writing comments is that when you are writing a program, you might remember clearly what a certain segment does and how it works.
However, as you write more and more programs, you will forget why you wrote it that way, and modifications and handovers become very troublesome. Commenting on your code can effectively avoid this situation. Comments not only help others understand the code but can also provide more information to those reading it.
However, comments should be concise and not excessive. You should avoid a plethora of trivial comments, as they become background noise.
“Don’t reinvent the wheel” might be the first principle every programmer is told when they start their career.
Writing code is actually one of the jobs that allows the most “laziness”: every feature you laboriously implement may already have excellent solutions contributed to the open-source community. Effectively using existing libraries and open-source solutions can make your work much easier.
Of course, finding a suitable solution is not an easy task. Sometimes you may spend a lot of effort finding a solution only to discover various issues, ultimately ending with no results.
So, what makes a good solution?
Open-source, with a permissive license; has documentation, standardized code, user-friendly interfaces, and ideally has practical examples; a relatively active community; loosely coupled and easy to customize.
In short, as long as it’s suitable and useful, it’s a good solution.
Improving programming skills actually has no shortcuts; the best way is to write more code.
However, in addition to writing a lot of code, improving programming skills also requires reading a lot of code written by others.
First, reading source code can improve programming skills. Learning starts with imitation, whether it’s reading example code in tutorials when starting out or reading the source code of excellent projects as you progress; both are great learning methods.
Second, reading source code can enhance debugging skills. Only by practicing and accumulating the ability to read code can you understand it and quickly and accurately locate issues in the code.
Finally, reading source code helps form a good coding style. “Development” is not just about writing executable code; it’s also about writing code that others can understand, which greatly benefits the maintenance and extension of the code.
Whether a programmer can accurately estimate development time is very important.
However, for novice programmers, it’s better to overestimate by a week than to underestimate by a day. Being overly “optimistic” can easily scare your boss. After all, in the process of estimating development time, you need to anticipate the impact of various modifications on other modules.
A modified unit test, acceptable testing, UAT environment testing, and going live all take time.
If a test fails, you’ll need to debug, modify, and run unit tests again… who can guarantee that every modification will pass on the first try?
Refactoring is a core skill for programmers.
A programmer’s greatest courage is to look at the code they wrote three months ago. However, learning how to refactor your code into a better version is a very valuable skill. Good code is improved through refactoring, and the process of refactoring should run throughout all stages of code development.
Refactoring should not be something that happens every few months; the best approach is to refactor in real-time. Spending 70% of your time on refactoring while writing code for a day is not excessive.
Finally, as a novice programmer just starting out, finding a reliable mentor or a reputable training institution to guide you is a very beneficial choice for your growth.
For cutting-edge technologies in the embedded field, Hua Qing Yuan Jian has deep professional resources, aligning with enterprise hiring standards,and has specifically launched the【High Salary Employment Protection Class for Embedded Engineers】.
To help everyone master high-paying skills more quickly and easily, Hua Mei has prepared aEmbedded Learning Roadmap and Free Trial Class, contact Hua Mei to obtain it!
Click the mini-program below to receive【Embedded Learning Roadmap】! You can also consult Hua Mei for the【Free Trial Class for Embedded】~
△Embedded Learning Roadmap
Scan the QR code above, consult Hua Mei
Learn more about【Embedded】 course details
Additionally, Hua Mei has prepared a surprise for everyone! Including Embedded, IoT, Artificial Intelligence and many other high-paying employment courses, along with course benefits specially prepared for everyone~
👇👇👇
👇👇👇
If you have any questions, scan to contact Hua Mei~
Hua Qing Yuan Jian Education Technology Group was established in 2004 and is a leading brand in the education service industry in the field of technology-driven new generation information technology, integrating industry, academia, and research. It is committed to enabling every student to easily and efficiently access IT education services that keep pace with the forefront of technology, achieving high-end career dreams. From offline to online, from teaching to research and development, from theory to practice, from campus to workplace, it also provides comprehensive talent training solutions for enterprises, colleges, and individuals. Currently, it has established 13 learning centers in major first and second-tier cities across the country, delivering over 300,000 IT talents to enterprises and empowering over 1,100 colleges and over 20,000 enterprises with talent training and support.
Leave a Comment
Your email address will not be published. Required fields are marked *