6 ms·
Doesn't Groovy (https://groovy-lang.org https://groovy-lang.org) achieve much of this? I remember being taught with it at university for some time before they i
by hughjd 4y ago
Doesn't Groovy (https://groovy-lang.org https://groovy-lang.org) achieve much of this? I remember being taught with it at university for some time before they introduced Java. With Groovy you don't need the class or main method, and can have a program which is just `println "Hello world!"`.
- chrisseaton 4y ago> achieve much of this Well no, because that on-ramps you to Groovy, not Java.
- aaa_aaa 4y agoGroovy is not Java.
- usrusr 4y agoBut it's a brilliant example of everything that could possibly go wrong if you blindly optimize for hello world
- cies 4y agoOr you get jealous of the runtime errors the JS, Rails and Python teams have.
- speed_spread 4y agoOr invent entirely new classes of errors with static type annotations that are actually utterly ignored.
- gkfasdfasdf 4y agoNeither is the final sample presented in the article! But I think the point is that Groovy already exists and can run most Java programs as well.