How to get into the habit of hitting code every day

Source: Internet
Author: User

Before looking at a foreign Daniel wrote the east, specific links to forget.

1. Write good code with minimal time

Forcing yourself to spend less than half an hour a day writing code (which is really not an easy thing to do, especially if you have to remember what was written the night before), usually does not exceed one hours during the workday, but the weekend will take more time to do the amateur program.

2. Make writing code a habit

Do not care about rankings, do amateur projects is their own business, not to please others and do.

3. Fight against bad moodIn the beginning of the implementation of the daily writing code plan, often anxiety projects have not much progress, after all, there is no time limit for amateur projects. But to know that such bad feelings do not help at all, but will hinder progress. So fight with bad mood and do a lot of work calmly. 4. Schedule and make good use of the weekend timeFor most people, using weekends to do part-time projects is a great opportunity for the project to make a big progress. But you know, it's a failure to do it until the weekend. If the day's work is not completed, then you must force yourself to not participate in other weekend entertainment activities, to leave the time for work. But it is also important to know that an amateur program is a priority, and that personal life should not be overlooked, so scheduling time becomes very important. 5. Subconscious ThinkingDoing business every day writing code has an interesting side effect, which is that the brain will think subconsciously. Therefore, in walking, bathing or other non-mental activities, you can also think about the next step of the code how to write, there are problems there is a good way to solve, if you write every week or every one weeks will not have such a good situation. 6. Writing a little code every day is not easy to forgetThe cost of a "context switch" when working on an amateur project, unfortunately, is difficult to answer. So every day to do a little part-time projects, so that they are not easy to forget. 7. Manage time, balance work, life, leisure projectsNow I have simply learned how to better maintain the balance of work, life, and leisure projects, I know I have to do the amateur project every day, so I will better manage the time. If I go home late in the evening, I will do my spare time on the day before I start working. If the day of the amateur project is not finished, then no matter how late I will be completed, to achieve today's completion. 8. To communicate with each other in timeIt's good to have a new habit followed by external communication. Colleagues and friends know that they have the habit of writing code every day, because when there are activities, I will tell them: "When I finish writing the code to go." "They don't mind and understand my behavior at all. 9. CodeIt's hard to believe that I've written a lot of code in the last few months. I built several sites, re-wrote the framework, and created a number of node modules. I've written so much that sometimes I forget what I wrote, but I'm really glad I wrote so much code.good habits can bring great success, like writing code every day to do an amateur project as long as you stick to it, there will be unexpected results.

How to get into the habit of hitting code every day

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.