Talk:Python programming language/Talk:Python vs C Plus Plus example

From Wikipedia, the free encyclopedia

The Python program should be changed to use generators instead of passing around the answers list. But I will let someone else do this as I have wasted too much time today on Wikipedia! :-)

The external links seem to have gone, making it harder to understand the page --Henrygb 14:58, 15 Apr 2004 (UTC)

Is it the same problem that Norvig discusses here? http://www.norvig.com/java-lisp.html He has some other links which may or may not work better.

[edit] Python vs Java

Why not have a comparison of python and java code. That will be terrific!

/* HelloWorld.java */
public class HelloWorld 
{
    public static void main(String[] args)
    {
        System.out.println("Hello World");
    }
}
# HelloWorld.py
print 'Hello World'


.. and more bigger examples, that uses Array, Lists, InputReader, URL, ...

- Sridhar