The things you need to know to be a good programmer _itlife

Source: Internet
Author: User

Guide: programming is complex, but many of the factors that make a good programmer are the same as the ones we learned in school at the earliest.

Know how to share. Use open source as much as possible, and make a contribution to it when you have the ability. Gathering the wisdom of the whole society trumps the myopia of some "big" companies.

Fair competition. Try other techniques, frameworks, methodologies, and viewpoints. Do not always think that only your choice is feasible. Other options may be much stronger than yours. Try to test others ' choices with an open mind.

Don't attack others. As the 2nd article says, don't attack them just because someone else happens to be using. Net, Java, or PHP. Sometimes, they may be more effective than you think. As long as others are not worthless, you can learn a lot from them.

Self improvement. Try to publish code that can be run. Don't expect QA to find out all the bugs in your program. Always test your code thoroughly and thoroughly.

Don't take things that don't belong to you. Use the software to comply with the license, do not steal and then pretend innocent.

Apologize for hurting others. Code review is a good but rarely used idea. Instruct programmers less experienced than you to help the whole team. Don't criticize others openly. Coaching is not about belittling others. Others sometimes accept, sometimes do not accept. In fact, sometimes you may learn a lot from the person you think is inferior to your level.

Rainy day. Try to understand the problem you want to solve before you write the code. Be a prototype, look up an instance from the Internet, talk to someone else who is doing it, or just practice practicing. It's a bad habit to build something you've never done or used before. If you start with ideas, the results may be better.

You can take it and put it down. Don't be afraid to replace, rewrite, refactor, or discard junk code. Sometimes, it is best to throw away the code if you can leave it. Never fall in love with your code.

Biscuits and milk are good things. Yes, programmers should have a good working environment. If you want to make programming easier, a good chair, a quiet place, a highly equipped computer and a variety of tools are required. The manager should act as an effort to protect the programmer's role and prevent trifles from interfering with them. As a programmer, don't accept a life of slavery. If the boss is bad for you, change a good club.

Balance life-learning, thinking, painting, singing, dancing, working, playing, everything will be a little. I like the way Google is, where you have 20% of the time to think about anything you think is worth doing. The boss should provide a lounge, recreation room or some relaxing and sober environment.

Programming is a hard mental work, and sometimes your brain does need a break. Refusing to routinely work 80 hours a week otherwise your quality will be greatly compromised, and the amount of time you spend on your work will be wasted. In addition, how to release work life pressure, can refer to this article: "3 steps to release work and life pressure."

Take a nap every afternoon. Working 24 hours a day won't make you more efficient. Rest, go home, and take a nap. Usually, a lot of problems are solved when I go home, and the solution usually comes to me when I'm driving or the next morning.

Don't go behind closed doors. Read blogs, learn new languages and frameworks, participate in discussions, and see what peers are doing. You can't be a better programmer if you don't hear the industry in two ears.

Remain curious. Think of the seeds in the plastic cup: The roots are long, the foliage is long, no one knows why, but we all do. In general, in the programming and technical world, there are new things that happen every day. See. It's amazing. Study every day, so that you think a wider, skills update, the choice is more extensive. If you think programming is boring, then you should wrap it up.

Goldfish, hamsters, mice and small seeds in plastic cups--they all die, and so do we. The code is obsolete and dead. Sometimes what you need to do is bury them and redo them. Don't continue to maintain that awful code to save money.

Think of the book: "Bonnie and Clyde," the first word you've learned--"look." If you don't try, you'll never learn anything. Everything I learn in programming comes from trying new things and practicing. Every morning I browse a lot of websites to see what's going on in the world of programming, and I've been doing it since the early 80 when I was at work (though it was a magazine). If you look back five years ago, you will find that programming is actually very simple.

A small story is attached:

There were two monks who lived in the temples of two adjacent mountains. There is a brook between the two mountains, so the two monks go down the river at the same time every day to fetch water, and they become good friends.

In this way, time in carrying water every day unknowingly has passed five years. Suddenly one day the monk on the left side of the mountain did not fetch water, the monk on the right side of the mountain thought: "He probably overslept." "would not be complacent. The next day the monk on the left side of the mountain did not go down to fetch water, nor did the third day. After one weeks or so, until after one months on the right side of the mountain monk finally unbearable, he thought: "My friend may be ill, I want to go to visit him, see what can help." ”

So he climbed to the left of the mountain, to visit his old friends. When he arrived at the temple on the left side of the hill, he was surprised to see his old friend, who was playing Taijiquan in front of the temple, not like a man who didn't drink water for one months. He was curious to ask: "You have not been one months to carry water, you can not drink it." The monk on the left side of the mountain said, "Come here, I'll show you." "So he took the mountain monk on the right to walk to the temple's backyard, pointing to a well said:" This five years, I have done my homework every day to dig this well, even if sometimes very busy, can dig how much even how much. Now finally let me dig well, I do not have to go down to fetch water, I can have more time to practice my favorite taijiquan. ”

Revelation: We pay more in the company, it is water. And grasp the time after work to dig one of their own wells, cultivate their own strength on the other hand, the future when we are old, physically spell young, still have water to drink, but also can drink very leisurely.

Turn from: http://justsee.iteye.com/blog/791854

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.