News for hackers. Stuff that matters.
Re:ACM Urges Obama To Include Computer Science in k-12 Educa... by gaius on Friday December 26, 2008 @04:41PM (#410439)
We had this discussion on another thread and concluded that Java's a very bad introduction to programming. To understand even Hello, World requires an enormous amount upfront:

    class HelloWorld {
        public static void main(String[] args) {
            System.out.println("Hello, world!");
        }
    }
What's a class? Why does the name of my class have to be the same as the name of the file (and why do I have to rename it on the disk if I change it?) What's "public", "static" and "void" mean? What's an array? What're arguments? Why is String capitalized when main isn't? What is this System business, why can't I just print? Why do I have a semicolon on the end of that line?

If you want to teach people you've got to start from the freedom of using a suitable language, which means to all practical purposes LOGO, BASIC or Scheme.

    10 PRINT "HELLO, WORLD!"
Or

    (display "Hello, world!")

There are no comments on this comment yet.