News for hackers. Stuff that matters.
Re:Java in the Small by GTP on Thursday December 19, 2024 @06:07PM (#42466675)
Based on that page, they're dropping the REPL in favor of notebooks, but their're not dropping scripts. They are dropping some script-related functionality to focus on others.
Re:Java in the Small by jillesvangurp on Friday December 20, 2024 @03:38AM (#42469319)
Also worth noting that notebooks and kts overlap quite a bit. They use the same mechanism for imports and defining remote repositories, for example. A notebook is effectively a kts script. And of course gradle uses kts as well for its Kotlin dialect. These things actually overlap quite a bit.
Re:Java in the Small by a57721 on Friday December 20, 2024 @05:08AM (#42469713)
Yes, they are not dropping scripts completely, at least because of Gradle, but they are removing some parts of scripting support and advise against using Kotlin for scripting. And I would prefer a true command line REPL instead of the notebooks. IIRC they were promising various improvements in both scripting and REPL for several years, and now they just gave up, I guess because of shifting the focus to K2 and KMP. I find this quite disappointing.