Python is the best language in the world.
Any who doubt shall die.
def qsort(L): if L == []: return [] return qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])
How many lines would this be in C++, huh?
If you would like to participate in a 5-week web-based course next term to learn the python programming language and how awesome it is, then sign up for the annual National Computer Science School (NCSS) Challenge. I did it last year and came 6th, along with Ben Trubshaw who came 8th, and others. And I will almost certainly do it again this year.
I think the school will pay the entrance fee, which I will confirm later on, so don't worry about that…
Seriously, Python is awesome, and don't let anyone tell you otherwise. Really. Register at http://challenge.ncss.edu.au/ . I recommend it to all.
Oh, and you don't need to know any programming theory before hand. It'll teach you it all. Questions welcome.
..J