class Main {
public static void main(String[] args) {
System.out.println("Java is really really poor for students
entirely new to programming, and the public static void nonsense you
see here is part of the reason.");
}
}
Yes, I have taught people Java, and they got past this particular
issue. Python, Perl, JavaScript, Scala (ahem), and pretty much any
language with a REPL is better. Actually we can take Scala out of
that list, as I think worrying about types isn't useful for novice
programmers unless there is a strong mathematical background.
PHP, even with a REPL, would be crap; the error messages, when they
exist, are useless. Perl is a bit dubious because it doesn't default
to strict and warnings, but I suppose a little script would fix that.
I suppose Ruby would be ok if it can keep up with your keystrokes. ;)
On Wed, Dec 21, 2011 at 4:45 PM, Chris Koerner <[email protected]> wrote:
> John, y u no pick Java? ;)
>
> http://ejohn.org/blog/javascript-as-a-first-language/
>
> "At Khan Academy we've been investigating teaching Computer Science to
> students in some new and interesting ways. The most interesting aspect of
> which is that we're likely going to be teaching them JavaScript as their
> first language..."
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/javaposse/-/kynwmjakcrUJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
--
You received this message because you are subscribed to the Google Groups "The
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/javaposse?hl=en.