Programming can be daunting, repetitive and can wear you out. Follow the steps below to learn how to enjoy writing lines and lines of code! Hope this helps!

Steps

  1. 1
    Get lots of sleep. Because you will likely spend a lot of time in front of a computer when you are programming, it is advised to get lots of sleep before hand. Make sure you are awake and alert.
  2. 2
    Take breaks. Looking at a computer screen for a long period of time puts strain on the eyes, and the mind. Take short breaks every hour or so. Within these breaks you can have a power nap, read a book, pay the bills, anything which does not involve electronics.
    Advertisement
  3. 3
    Be passionate about your project. If you are developing something which you are not passionate about, then there is something wrong. The project is a very important part of programming which will help you to achieve your goal and will also help you learn lots of challenging parts through projects.You must be determined to get through the project, and complete it.
  4. 4
    Plan ahead. Try to know what you are going to do, and when. Organize your time, so when you sit down to begin programming, you know what you are going to do, whether it is improving UI, adding features or debugging.
  5. 5
    Get into a routine. Try to create regular time periods to program in. You may even look forward to starting your days work. Don't leave a project to rot, unless you are leaving it forever, keep it active, otherwise you may begin to doubt it, which will in result lessen your chances of Step 3!
  6. 6
    Don't do it just for the money. You may be programming within work, or as a hobby, and very likely, you are doing it to get paid. Problem is, if you are really not enjoying it, then stop it, quit your job (be careful though) and do something that you enjoy.
  7. 7
    Don't leave programming if you find it frustrating. Programming becomes real problem sometimes. But don't ever leave it. For example:- If you leave your girlfriend for a small matter then you will feel regret later.
  8. Advertisement

Warnings

Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 14 people, some anonymous, worked to edit and improve it over time. This article has been viewed 50,996 times.
How helpful is this?
Co-authors: 14
Updated: January 31, 2023
Views: 50,996
Categories: Programming
Advertisement