News for hackers. Stuff that matters.
Re:Java in the Small by fulafel on Thursday December 19, 2024 @01:19AM (#42458909)
It's a good local improvement, but the other hand that old traditional syntax was a good effective "keep away" sign in Java that saved many CS students from being fed Java as a first language. And it's still a bad first language after this change. I wonder if this small improvement might make things worse in the big picture.
Re:Java in the Small by user_of_the_wek on Thursday December 19, 2024 @02:18AM (#42459205)
These features are explicitly to make teaching Java as a first language easier. From https://openjdk.org/jeps/463

Goals:

Offer a smooth on-ramp to Java programming so that instructors can introduce concepts in a gradual manner.

Help students to write basic programs in a concise manner and grow their code gracefully as their skills grow.

Reduce the ceremony of writing simple programs such as scripts and command-line utilities.

Do not introduce a separate beginners' dialect of the Java language.

Do not introduce a separate beginners' toolchain; student programs should be compiled and run with the same tools that compile and run any Java program.

Re:Java in the Small by themaninthedark on Thursday December 19, 2024 @02:27PM (#42464877)
I learnt to program using Pascal, then C++ in Highschool.

In collage, CS101 and 102 required me to learn and use JAVA, which I felt was a huge step backwards in usability and a lot of excess typing.

But as I reflect on it now, I think my feeling were because I came from knowing how to do some things and therefore not requiring the framework that JAVA offed to first time programmers.

Re:Java in the Small by fulafel on Friday December 20, 2024 @01:08AM (#42468704)
I think the sins of Java as a first language are twofold:

1. The obvious excess incidental complexity

2. and more important, the enterprisey culture that's much less compatible with the intellectual curiosity, looking under the hood, etc attitude that's needed to become a decent programmer.

Re:Java in the Small by thayne on Thursday December 19, 2024 @01:44AM (#42459039)
And yet it is still the first language taught in many programs.

Although my high school programming class was c++, which is even worse as a first language.