Today I'ave mainly been wondering why no-one has said to me Javascript is great...
I have never had the inclination to write any Javascript before but recently I have been interested in a project to produce some simple software for mobile phones. Here the key requirement was "use the same code for iPhone and Andriod". The solution chosen was Cordova (Phonegap).
With Corova you write a webb app in HTLM5+CSS+Javascript and make calls to Cordova to get the mobile device to respond.
Well.. after a bit of looking around I discovered jQuery was cool with Javascript and was soon looking at HTML5 canvas and SVG as a way of doing graphics. I soon realised that SVG is cool and a great way to get dynamic web content and went looking a for a Javascript library to access it. Raphael lib seem to be the answer and I have used it to re-write a simple darts program which I had spent several weeks writing in Objective C.
Javascript is great because it has several similarities with my favorite language Python.
It has built in lists and dictionaries and has an attempt at a nice object model.
I have not yet used the object model but I will.
The only thingI have missed so far is default function paramater values.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment