Programming is a complex thing, but many of the factors that make good programmers are similar to what we learned early in school. This article is inspired by Robert Fulghum's "All I really need to Know I learned in kindergarten".
1. Share
Use open source as much as possible and share your results if you have the ability to do so. The wisdom of society as a whole is certainly better than some big companies tubes behind closed doors.
2. A fair mindset
Don't assume that your choice is the only thing that works, try other techniques, frameworks, methods, and suggestions, and maybe other options are better than yours. Use an open mind to treat any method and choice.
3. Do not attack others
As the 2nd article says, do not attack them at will (I have learned a lesson in this regard) because they happen to be using. Net, Java, or PHP technologies. Sometimes, the techniques you don't see are probably more useful than you might think. As long as you have a kind of peace of mind, you can learn from them a lot of things, as everyone knows, the sea is full of rivers, the capacity is big.
4. Solve your own mess
Own code to be responsible for itself. Never expect QA to help you find all the bugs. Test your code thoroughly and often.
5. Not your own stuff, don't take it.
It is shameful to have permission to use it and to secretly use it to claim that you are innocent afterwards.
6. If you hurt someone, say sorry.
Code review is a fairly good but seldom-used idea. The programmer who guides less experience than you helps the whole team develop. But remember not to criticize others openly. Guidance does not mean belittling others. Some people will accept it when they are instructed, and some will not. Remember that there are times when you can learn a lot from people who are less than you. Never look at people in the door------------look at them.
7. Come prepared
Do a thorough understanding of the code before you start writing it formally. Make prototypes, search examples from the web, talk to other people who do the same, or practice practiced hand first. It is "self-inflicted and not alive" to start building what you have never tried or used before. If there is a clue from the beginning, the result may be better and more effective.
8. Take it up and put it down.
Don't be afraid to replace, rewrite, refactor, or even delete code directly. Sometimes, if you run into code that can be left out, just throw it away. Don't let your code go to the beat.
9. Comfortable working environment
Yes, a good working environment is indispensable to programmers who can program efficiently. A comfortable chair, a quiet workplace, a generation of high-profile computers and a variety of tools to help with programming should be fully equipped. The manager avoids trifles to disturb his programmers. And as a programmer, do not have to swallow, give a cow to do horse, if the boss is bad for you, change it.
10. Maintain the balance of life-learning, thinking, painting, singing, dancing, working, playing, every day should live colorful
I really appreciate how Google works, and it will suggest that you spend 20% of your time thinking about anything you think is worth doing. In addition, Google offers a dedicated lounge, games room and other places to relax. Because programming is a high-intensity mental activity, sometimes your brain really needs a little rest. Don't ignore your body blindly, "workaholic" is definitely an undesirable way of life. Work 80 hours a week, it sounds like a cow, but your work efficiency must be a question mark, or even accidentally make an unforgivable little mistake and then naught.
11. Have a nap in the afternoon
Even if we spend 24 hours a day writing code, there will be no more results. Stop, go home, and take a nap. A lot of problems were solved on my way home. Sometimes, when I'm driving, or waking up early in the morning, the answer brainwave in my head.
12. Do not leave behind closed doors
Communication is good for us: Read blogs, learn new languages and frameworks, discuss topics, and see what your peers are doing. Since the snow in front of the sweep, absolutely no success of a good programmer. Behind closed doors programmers will eventually be eliminated by the tide of the times.
13.. Remain curious. We are like a seed, because of the curiosity of the outside world, we can come out of the soil to witness the world.
Every day we can see something new in the programming world. Take "why" to explore the matter. Every day to learn new knowledge, broaden their horizons, refresh their skills, so that they keep abreast of the pace of the times. If you think programming is boring and boring, then maybe you could consider changing the line.
14. All things will gradually decline and perish, no one can resist.
The code will slowly grow old until it dies. All you have to do is bury them and write them back. Don't continue to maintain those thankless code to save money!
15. Remember the book "Male and Female Thieves", the first thing we learned was-"look."
If you don't try it yourself, you'll never learn anything. Everything I learned in programming comes from my hands-on practice. Every morning, I will extensively browse the website to see what new things have happened in our programming world. I've been keeping this habit since I got my first job in the early 80. (At that time the network was not popular, I mainly read the catalogue and magazines.) )
When you have 5 years of work experience, programming in your eyes is a piece of cake.
15 features of a good programmer