JEP 330
Remi Forax
forax at univ-mlv.fr
Thu May 31 13:42:15 UTC 2018
Hi Cay,
> De: "cay horstmann" <cay.horstmann at gmail.com>
> À: "compiler-dev" <compiler-dev at openjdk.java.net>
> Envoyé: Jeudi 31 Mai 2018 07:09:43
> Objet: JEP 330
> I noticed that JEP 330 is proposed for Java 11. I am all for having support for
> "shebang" in shell scripts, but as an educator, I object to the
> characterization that the JEP will contribute to easing the Java learning
> curve--which is spelled out in the motivation of the JEP. In its current form,
> it will not. And there are better ways to modify javac that would be helpful.
Technically, the JEP doesn't modify javac, just the launcher of the VM but I agree with you that it will not really help teaching.
The JEP also said that it simplify the writing of small utility scripts and i think it is its major selling point.
There are a lot of scripts (bootstrap, build, deployment, continuous testing scripts, etc) that should be written in Java instead of being written in shell because Java is cross platform.
My secret hope is to be able to write gradle scripts in Java.
> If the "single file" rule were removed, and students would never have to use
> javac, sure. But having yet another trivia fact ("You can omit javac with a
> single source file") is not helpful. I put some thoughts into [
> http://horstmann.com/unblog/2018-05-30/index.html |
> http://horstmann.com/unblog/2018-05-30/index.html ]
> Cheers,
> Cay
regards,
Rémi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180531/b60cf369/attachment.html>
More information about the compiler-dev
mailing list