9 Sep 2013

Learning to Program Online (Programming 1)

Most of you have already got started on Codecademy. This is good to see, but there are some other options.

The first question to ask yourself is: which programming language should I learn first? Note that a static webpage will require HTML and CSS; an interactive webpage may well require jQuery, PHP and JavaScript too. Learning everything is a lot of work!



Personally, I think that to get a good grounding in programming skills, the simplest and most powerful language is Python. The flexibility of Python also means that your programs can look very similar to written English. The first aim is to be fluent in one programming language; then you will be able to judge what other languages do better, or worse.

Although it is good to be able to write code from scratch, as you progress you will build up a library of code snippets that you can re-use within different programs. This modular approach is the basis of Scratch, a visual programming language developed at MIT. If you want to see your programs and apps in action very quickly, then Scratch is a good place to start.

One good technique is to create a program in Scratch, see how it works, then try to write it in Python! In terms of languages, you will then be able to speak Scratch and write Python.

Have fun!