11-10-2013, 09:28 PM
I would suggest JavaScript instead of Python.
Python is a great language, better than JS in many ways. However, it's not so easy to actually make it ..do anything. You can give it some text, do some calculations on said input, and output some text. Making it give you visual feedback is hard - you'll have to get into graphics libraries and such. C/C++ and Java (don't do Java kids) is much the same.
With JS on the other hand, you got this whole HTML environment around you. You can make some elements in HTML and do various stuff with them - move them around, change their style, display text in them - from the JS code. It's also dead simple to make a button which runs a JS function when it's clicked (<button onclick="foobar()">Click me!</button> will run the foobar javascript function every time it's clicked). If you need to get more advanced, JS scales nicely with the graphics APIs canvas and WebGL.
As opposed to most other languages, you don't need a compiler. You don't need an IDE. You don't need a special runtime. All you need is a text editor and a somewhat updated browser. Make an index.html file, write some code and drag it into your browser, and it works. (tequilaJumper is exactly that, one index.html file, most of which was made in Notepad in boring school classes.) Of corse, when you get slightly more advanced, spreading your scripts over more files is possible.
So that's why I suggest going for JS.
Python is a great language, better than JS in many ways. However, it's not so easy to actually make it ..do anything. You can give it some text, do some calculations on said input, and output some text. Making it give you visual feedback is hard - you'll have to get into graphics libraries and such. C/C++ and Java (don't do Java kids) is much the same.
With JS on the other hand, you got this whole HTML environment around you. You can make some elements in HTML and do various stuff with them - move them around, change their style, display text in them - from the JS code. It's also dead simple to make a button which runs a JS function when it's clicked (<button onclick="foobar()">Click me!</button> will run the foobar javascript function every time it's clicked). If you need to get more advanced, JS scales nicely with the graphics APIs canvas and WebGL.
As opposed to most other languages, you don't need a compiler. You don't need an IDE. You don't need a special runtime. All you need is a text editor and a somewhat updated browser. Make an index.html file, write some code and drag it into your browser, and it works. (tequilaJumper is exactly that, one index.html file, most of which was made in Notepad in boring school classes.) Of corse, when you get slightly more advanced, spreading your scripts over more files is possible.
So that's why I suggest going for JS.