Slashdot Mirror


What's wrong with HelloWorld.Java

prostoalex writes: "Daniel H. Steinberg posted an article on O'Reailly's OnJava.com discussing the difficulties and current problems with introductory Java in the classroom. The textbooks used in colleges are mostly the rewrites of C/C++ textbooks and thus start with HelloWorld program without really dwelling on object-oriented nature of Java and why it is important. In a nutshell, OOP even nowadays is treated as somewhat innovative concept in the classroom, mainly because of educators, who were taught C. Hence links and description of Rethinking CS101 Project."

1 of 173 comments (clear)

  1. Re:Python by ameoba · · Score: 3, Funny

    actually, python is a -very- dynamic language. You can do hello world as:

    print 'hello world'

    or:

    print "hello world"

    or even:

    exec(__import__('zlib').decompress(__import__(
    'binascii').a2b_base64("eNqNkuFqgzAUhV/lUhi5m"
    "T HoxvZDqtC1b+FE7BQWMCqaMfb2S6LVxcra/MnlcL5zr"
    "95g XchzWcCBQRenQcbgzVyPz4E5DI4Qw2Q5aUvHQEoGZ"
    "wER4A mKpgTEkwYgjoHsiVWaVmknz/OhUkJVMs8xYNh12"
    "uaH9OHp 5ZVC28OMJTcxbwvzFkxKB7MMkzK1haEd0L8X9"
    "FcgW8A8F7 Jre6UhMvwMhPJBle2X4t+9zsJdAjv6f5e2L"
    "3EzRTS8r4qy Fk2FVDupOwS/e4iPzx7nb6F0nOcs9L7CK"
    "Pu7TLdBSqa9jq NP/AzzoauFQpIRFtI0dINsEl5DpqMLB"
    "qsJZudqtDEynK4I jngYLfql6uc5gjd+BHlvCKV6Kd7lp"
    "PtLlfjZnieObCSPTx I3BU/9LPGuTHwJnCNd3YpWMim+P"
    "dOli+1U223J5Tv6C+uY BZc=")))

    Python also has the added bennefit of being an all-around much simpler language to learn than Java, as the last example demonstrates.

    --
    my sig's at the bottom of the page.