Sharing excellence: 8 Strokes improve Java programming efficiency

Source: Internet
Author: User

  Give yourself a simple career plan, such as want to become a "high-paying programmer" so much higher is high, do you have the ability to get this well-paid, how to improve their ability to get high salaries, there are many people still a little confused,  Today's soft Excellence Java Training Teacher will introduce you to eight ways to improve the level of Java programming. 1. The first step to reminding yourself of learning is to realize that you do not understand. Because I do not understand, so we need to learn. This may sound obvious, but experienced programmers will certainly remember how long it took them to do the psychological building. Too many computer science students graduate with an arrogance: "I know the most", think they know everything, and have a strong desire to prove to every new colleague. In other words: Such a "I know I understand I know!"  "Attitude can be a hindrance to your learning of new things. 2. Don't try to prove that you are right to be great-not just good-you have to learn from experience. But be careful, experience will allow us to repeat the wrong behavior and develop bad habits. We've all met programmers with more than 8 years of experience ... Constantly say that their experience is rich, imposes. To avoid blinders, you should review what you have done and ask yourself, "How can you do better?" "Novice software developers (and many experienced developers) watch their own code in order to appreciate its excitement. They write tests to prove that their code works, not to let it fail.  Really great programmers will actively look for the wrong place-because they know that end users will inevitably find flaws that they have missed. 3. "Code can work" is not a sign of your stopping; Yes, the first step is to write high-quality software that meets the specifications.  Ordinary programmers often give up here and jump straight to the next thing. But as it is "done", it is as absurd as taking a picture and wishing it to be a piece of art. Great programmers know that the first iteration is just the first iteration. Can work--then congratulations! --but this is not the end.  You also need to make the code better. Some processes define what is "better". Is there any value to make it faster? Easier to document? MORE reusable? More reliable?  The answers to these questions vary for different applications, but the process is constant. 4. Write three times good programmers write work-ready software. And the great programmers write software that works very well. This is seldom possible overnight. The best software is usually written three times: first, you write software to prove to yourself (or the customer) that it is possible to see the solution.  Others may not realize that this is just a proof-of-concept, but you know it.  Second, let it work.  Third, let it work correctly. This level of work may not be obvious if you go to see those best openThe work of the staff. Everything they do seems so brilliant, but what you don't see is that even a star developer may throw away the first and second versions of the software before showing it to others.  Getting rid of code is a good way to incorporate "strive for perfection" into your personal workflow. If there is no accident, "write three times" will tell you a lot of ways to solve the problem.  It can prevent you from getting into trouble. 5. Read the code, read a lot of code you may have heard this advice, in fact it is the most common and valuable advice to improve your programming skills.  But many people don't know why reading someone's code is so important. When you read someone else's code, you have to see how others solve the problem. But don't take it as a literary view; treat it as a lesson, a challenge. To get better, you have to ask yourself: How do I write code blocks like that?  After you see another solution, what are your different ways of doing it? What have I learned? How to apply that technology to the code I wrote before?  ("I never thought of using recursion down there ..."). How do I improve this code?  If it's an open source project and you believe you have a better solution, do it! Write the code in the author's style.  Practice this to help you understand the thinking of the person who wrote the software. Don't just try to do it. Write down your answers, whether in your personal diary, blog, code review process, or on the developer community Forum. Just as explaining a problem to a friend can help you sort out the solution, writing and sharing your analysis can also help you understand why you are reacting to someone else's code in such a way that you do.  This is the self-reflection that I mentioned earlier, which helps you to judge your strengths and weaknesses calmly. Warning: It's easy to read a lot of code, but to be a great programmer is a bit of a fantasy. Many developers "find answers" through open source code or other software, and most people do so by copying and pasting code that happens to solve similar problems.  This is actually making you a worse programmer, because you just blindly accept the wisdom of others without digesting. 6. Writing code, rather than just assigning tasks to work on individual programming projects, has many advantages. First, it provides a way to learn about tools and techniques that you can't learn in your current job, but it can make you more competitive in finding your next job.  Whether you're working on open source projects or providing free labor to local community organizations, you can increase your technical skills and confidence. Another advantage of writing code for fun is that it forces you to figure these things out on your own.  You can't leave the hard part to someone else to do it, so it can prevent you from asking someone for help too quickly. Tip: Do not choose individual projects that you will never fail. You need to fail! But you don't want to lose at work.Or when the project has a time limit. 7. Work with other developers on a one-to-one, and this helps to listen carefully to other people's ideas and ideas. The method can be pair programming, either to participate in a programming marathon, or to join a programming user group. When you're working on an open source project, pay attention to the feedback you get from users and other developers.  What do they have in common in their criticisms and suggestions? You might be lucky to find a personal mentor you can trust, and he will guide you through everything from coding technology to career decisions.  Don't waste these opportunities. 8. Learning techniques, not variations in tool programming languages, tools, and methodologies. That's why we want to accumulate as much experience as possible and use as many languages and frameworks. Focus on the basics of programming, because the basics never change: Focus more on architecture than programming. If you think there is only one right way to do things, then it may be time to test the actual combat. Dogma can hinder your ability to learn new things, and try to adapt yourself to change slowly.   If you are interested in Java and want to apply it and get a high salary, focus on the soft international excellence training in the soft and Java training organization focused on Java, UI design, IOS, Android, PHP, software testing,. NET, embedded, C language, big data, As China's top listed enterprises under the largest IT vocational education group, the only company with software development background of enterprise-level training institutions, for students to provide a convenient and effective way of learning. Medium and soft Excellent training center has a strong corporate background, the real enterprise environment, professional to create first-class software talent. If you have questions about how to train, or want to know more about the course details, you can click on the website of the online teacher or come in person to visit the soft field of excellence consulting, we will give you the most detailed answer.

Sharing excellence: 8 Strokes improve Java programming efficiency

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.