How to Learn a Programming Language

  1. Steps

    1. 1
      Decide your goal. Learning a programming language can be both quite interesting and challenging if you know what you have to accomplish. Even though university graduates study a language for years but they might not be able to figure out their specialty. So first decide what do you want to become, a programmer, a game developer or a robotics expert.
    2. 2
      Choose a programming language. Always start to learn from a core language. When you first begin to learn, choose mid-level language like C and afterwards C++. Learning these two is a must for any competent and complete programmer. Don't ever think of learning high level languages at first such as Java or something else as they can prove to be very confusing for a beginner. Remember, slow is smooth,smooth is fast. At least study a language for one year. Learn the common programming approaches called procedure oriented and object oriented paradigm. Read a lot and practice with a compiler or IDE. Once you mastered a language, do not rush to implement. Instead buy some good books on data structure and learn the key subjects like searching, sorting, binary tree and linked list creation etc. Whether it is about game or software development, data structure is the protege. Later, you may move on to a high level language such as Java[1]. For serious programming learn computer algorithms like divide and conquer, greedy method, backtracking etc for another one year at least.
    3. 3
      Fall in love with mathematics. For some reasons, many avoid mathematics or just hate them. But to become a good programmer you must solve and exercise a good number of problems on daily basis say one problem for one day. As you can see, it is easy to say but difficult to do. It is not important that how much knowledge you have in a language but what bares the importance is if you have the x-factors to solve a particular problem. Most problems are related to mathematical series (Fibonacci, Floyd triangle, Fourier Series etc). Not only that, there are many mathematical equations that can save a lot of time. So, start to learn new equations and their aspects. Learn discrete mathematics and calculus. Without mathematics, coding is like grassing the cattle.
    4. 4
      Be self-motivated. Remember, Rome was not built in a day. So don't rush to learn all in a day. Learning programming is not so easy because it employs logic frequently. So, try to understand the logic and practice it, practice until you memorize it. If you are only trying to memorize, you will miss the fun and the concept will be left unclear to you. So, Stretch yourself to the limit, but don't try to run before you can walk.
    5. 5
      Take your time. Even the most accomplished programmers fail to solve a simple problem on certain occasions. So,try to relax when solving a particular problem. Take notes, find a proper algorithm or prepare your own. This is why you must learn data structure and study mathematics. It takes many hours of practicing problem-solving skills on different types of problems before you can call yourself an expert. Sites like Project Euler or Codecademy[2] have many small programming assignments and tutorials that will help you practice and hone your skills.
    6. 6
      Never Back Down. Programming can be very frustrating and annoying too if you act carelessly but once you solve a problem all frustration will disappear. Do a lot of calculus(Fourier, Vector, Boundary Problem,Linear Algebra, Matrix). When working on a particularly intricate problem, take periodic breaks to let your brain relax and relegate the problem to your subconscious mind. Make a good schedule for working. When you fill bored, take a nap or walk but never give up, never back down.
    7. 7
      Become a master. Try to teach others and show your developed applications to others. If you know some one who is better than you, share your thoughts and problems with them, share experience as it will enrich your arsenal. Try to develop your own application imitating professional software like text editor, windows application. Take part in competitions to push yourself to the limit if you dare. Knowing one programming language is good, but mastering four or five is better. Regardless of what language you use most often, having knowledge of others to draw on will make you a better programmer and better able to understand common constructs and problems in the abstract. So learn several programming languages, especially two or three with different design philosophies, such as Lisp, Java, and Perl. But learn each of them properly.
    8. 8
      Be a bookworm. Most well versed programmers are good readers too. They think before even type a line of code. So, read a lot and think. Recheck your works once a week. Beside, invest some money in good books. Try to buy the best selling resources. Never follow a single resource as it will make your outlook more narrower. So once you master something, research on it for more use and variations.
    9. 9
      Invest on Training Centers. If you are not satisfied with your teach yourself technique, enroll yourself into some beginners course. But before the enrollment, always research on the previous graduates.
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值