Pages

Sunday 14 May 2017

Python 2017-05-14

I have been learning and practicing my python for a few weeks now and I find it it quite an enjoyable activity.  It has taken up the time that I would usually spend on Empire Total War. 

As someone who knows perl very well, I have picked it up very quickly, especially the objected oriented parts of the python.  I have even got a grasp of the multithreaded capabilities of the language, which is easier to use than perl's offering.

My only gripe with python and I think alot of users would concur is the use of tabbing and spacing.  Python does not use curly braces '{}' to block subroutines, ifs and loops.  Instead it uses a set number of spaces.  Failure to do this properly results in interpretter errors.  This can be annoying when copying and paste code examples.

No comments:

Post a Comment