Python 3000 Alpha 1 Released
python.org
python.org
"ls" is a simple command -- invokes the Unix command "ls -l". A more complicated one: "h os" -- run help on the os module (just like "help(os)"). This is kinda tricky because "h os" is actually a syntax error in Python. When interactive, I catch syntax errors and see if they are user defined commands, in which case I execute the desired command. This works for Python 2.5, but shouldn't be too hard to port to Python 3.0.
I briefly looked at IPython, but that seemed to complicated for my needs.
(Also, http://defcraft.org/hacks/pycmds/strftime_helper.py uses the above file to help the user with strftime spec usage. I can never remember all the special characters.)
We use similar technic with hpy - you type in Hebrew Python http://nirs.freeshell.org/code/hpy/ , then each line is translated to Python and executed.
How do create more fancy links here?
Interesting perspective I found on Coding Horror suggesting that it wasn't so much a language change as a change of platforms ~ http://www.codinghorror.com/blog/archives/000839.html
(Disclaimer: I have no inside information about Reddit or its future plans. I really wouldn't be terribly surprised if they did rewrite it in Erlang, though.)
Nah Lisp. Oops I forget they already have that language covered.
Tcl had that something like 5 years ago. Of course, that's one of the reasons it's slower...
If you want to start a language war, why don't you just make a new post rather than hijacking this one? In a post about Python 3000 I was expecting debate about Py3 vs Py2, not about Python in general vs other languages.
It isn't clear to me why Scala is obviously better than Python as you imply.
The Java libraries are rather extensive. I would rather have too much than too little.
Static typing is a big win, particularly if you don't have to declare everything (Scala has local type inference).
Sure, there are lots of bright people using Python. But Scala is a better language and has bright users also.
If you are unfamiliar with Scala, take a look at this: