How To Learn a Programming Language
August 16th, 2008Many of my friends ask me how they should start out learning their first (or next) programming language. Really, you can learn a programming language in many different ways.
1. Internet Tutorials - Internet tutorials are generally not the best way to get quality information about a certain programming language, but if you want a quick jump-start into a language these are great. Also, some languages (mostly open-source languages) like Python and PHP have their own documentation that details the basics of the language.
2. Internet Videos - Internet videos are a great way to learn a language. You can see hands-on how a programmer would go about writing a script/program, and you can even see some minor debugging (nobody is perfect - even the uber screencasters make syntax errors ;)). Showmedo is an excellent website for this - though the main languages supported are only Python, Java, Javascript, Ruby, and Perl.. but there are many screencasting websites out there - use google. (Or even youtube)
3. Printed Books - Honestly this is the best way to get quality information about a language. It may not be the fastest in some cases (though if you pick up some cookbooks I find you can catch on quickly), but it is definitely the most accurate to the current language’s standards (assuming you get a fairly recently published book).
My learning process for a new language varies greatly but generally it goes something like this: I read the basic documentation, if any, or possibly some online tutorials. I then look for any videos that might help. Then I pick up a nice book on the language, and a refference (and/or a cookbook). After reading/skimming the book, I now have a nice basis to get started on, and with my trusty refference book now at my side I can get to coding some simple applications.