6th August 2009
How to go about learning a new programming language is a common question which pops up on Stack Overflow quite frequently. If I answer any of these questions, I always have several key points regarding this topic:
Engage yourself in small projects – they are ways of practicing what you have learnt that are more hands-on and fun rather than just learning language constructs or syntax. The design of your projects will also help you to use any common design patterns or paradigms of the language, which will make you become more accustomed to common ways of solving common problems.
In most languages, the documentation is a wealth of knowledge for that language, which you can use to build upon the basic concepts of the language that you have learnt thus far. It’s often worthwhile looking through it to learn more about using the language this way; for example, with Cocoa development for Mac and iPhone development, the documentation offers a wealth of resources, including:
As you can see, the documentation is a great way to learn about the language, not only within the actual language parameters but also wider topics of application development using Cocoa, and this often applies to the documentation present with other languages, such as php.net for PHP and MSDN for Microsoft technologies.
Learning isn’t just about doing something the fastest – it is about the retention of what you learn; make sure that you are awake and alert during the learning process, as this will make it easier to remember what you are learning. Don’t use coffee or other stimuli to try to help you concentrate either – this will give you the illusion that you feel awake and taking everything you are learning in, whilst the converse is likely to be the case.