Tuesday 17 November 2009

Perl Programming

The key is the structured examples - questions that ask you to write a piece of code that builds on the previous steps by adding to the complexity. This is the perfect directed exercise.

I always forget to put the sem-colons at the end of the lines and vim is not perhaps the most supportive of editors until it works out that you are typing code and adds the colours, but it does tell you when you have the brackets all wrong.

Students should work in linux as this is the only sane programming environment and this allows them to deal with a proper filesystem and to have the opportunity to experience more languages once they have a grasp of Perl.

No comments: