News for hackers. Stuff that matters.
Re:Python is now the most popular introductory language at t... by hnriot on Wednesday July 09, 2014 @12:55AM (#8008135)
it might be easier to use groovy, for noobs it's basically the same as python and runs on the jvm, also you can introduce java gradually without changing environments.

I love python - used it for years, but I am dumbfounded that people enter a CS degree without having ever first tried to write a program. That's like taking english lit without having read a book before.

Re:Python is now the most popular introductory language at t... by vorg on Wednesday July 09, 2014 @06:24PM (#8012561)
> it might be easier to use groovy, for noobs it's basically the same as python and runs on the jvm, also you can introduce java gradually

Groovy (the JVM version) is marketed towards programmers who already know Java, and its main use cases (e.g. manipulating/testing Java objects, gluing together Java apps, and scripting in Grails) make the syntax terser but the programmer still needs to know what's happening underneath at the Java language level or they'll quickly hit a snag they can't solve.

The only use case where they don't need to already know Java is Gradle, where the script for a whole project is typically 20 to 100 lines long, usually copied and pasted from another project, and only using a tiny subset of the Groovy grammar, i.e. the DSL which is the least Java-like, so programmers won't be introduced to Java by using Gradle.

I even tried writing a Groovy(JVM) tutorial a while back for those new to both Java and Groovy [1] but found I had to introduce most Java and Groovy concepts at the same time. Groovy only gives some syntactic tersity via collection syntax, closures (though now obsolete with Java 8), and getter/setter syntax, nothing more.

[1] http://groovy.codehaus.org/For+those+new+to+both+Java+and+Gr...

Re:Python is now the most popular introductory language at t... by edwinnathaniel on Wednesday July 09, 2014 @03:54AM (#8008534)
Most foreign students are like that: taking english lit without having read a 'serious' book before.

The world has 6B+ people and HN is a very very small portion of the world, just like USA and the UK.