Kotlin to lose scripting features
JetBrains plans to remove underused scripting features from Kotlin, retaining some REPL functionalities while promoting the Kotlin Notebook and IDE Scratch files, but not recommending Kotlin for general-purpose scripting.
Read original articleJetBrains has announced plans to remove several scripting features from the Kotlin programming language due to low usage and the availability of alternative technologies. The features being dropped include the default REPL implementations, an outdated Java scripting API, the KotlinScriptMojo Maven plugin, and the kotlin-scripting-ide-services library. JetBrains indicated that user needs for scripting are being met by other supported technologies. While the Kotlin Notebook plugin and IDE Scratch files will continue to be promoted for interactive development, the company will retain some REPL-related functionality in the compiler and the Custom Scripting API. However, with the transition to the K2 compiler, many scripting functionalities will be altered or removed. JetBrains emphasized that while Kotlin scripting remains a part of its infrastructure, it will not be recommended as a general-purpose scripting solution compared to languages like Bash or Python. The existing implementations will remain functional until the release of Kotlin 2.3, but the KotlinScriptMojo plugin will be discontinued due to insufficient usage. JetBrains may consider reintroducing similar functionalities in the future based on the new K2 compiler.
- JetBrains will remove several underused scripting features from Kotlin.
- The Kotlin Notebook plugin and IDE Scratch files will still be supported.
- Some REPL-related functionalities will be retained but altered with the K2 compiler.
- Kotlin scripting will not be recommended as a general-purpose solution.
- Existing implementations will remain until Kotlin 2.3 is released.
Related
IntelliJ Structural Search and Replace
IntelliJ IDEA 2024.2 introduces structural search and replace functionality for Java, Kotlin, and Groovy, enabling users to search and replace code patterns with customizable templates and advanced filtering options.
WebStorm and Rider Are Now Free for Non-Commercial Use
JetBrains has made WebStorm and Rider free for non-commercial use, allowing full access to features except Code With Me. Commercial projects still require a paid subscription, with anonymous usage statistics collected.
Jetbrains to stop offering continuity discounts
JetBrains will end continuity discounts for new subscriptions starting January 2, 2025, while existing licenses retain their discounts. Customers are advised to purchase before the cutoff to benefit.
My Experience in Testing JetBrains' IDEs
Chris Wiegman tested JetBrains IDEs but prefers Visual Studio Code for managing multiple languages, citing JetBrains' strengths in code inspections and modern UI, yet finding it complicates his workflow.
A Second Search for Bash Scripting Alternatives
The author explores modern alternatives to Bash scripting for embedded systems, evaluating languages like Elvish and Nushell based on criteria such as arrays and external program calls, while documenting their experiences.
Related
IntelliJ Structural Search and Replace
IntelliJ IDEA 2024.2 introduces structural search and replace functionality for Java, Kotlin, and Groovy, enabling users to search and replace code patterns with customizable templates and advanced filtering options.
WebStorm and Rider Are Now Free for Non-Commercial Use
JetBrains has made WebStorm and Rider free for non-commercial use, allowing full access to features except Code With Me. Commercial projects still require a paid subscription, with anonymous usage statistics collected.
Jetbrains to stop offering continuity discounts
JetBrains will end continuity discounts for new subscriptions starting January 2, 2025, while existing licenses retain their discounts. Customers are advised to purchase before the cutoff to benefit.
My Experience in Testing JetBrains' IDEs
Chris Wiegman tested JetBrains IDEs but prefers Visual Studio Code for managing multiple languages, citing JetBrains' strengths in code inspections and modern UI, yet finding it complicates his workflow.
A Second Search for Bash Scripting Alternatives
The author explores modern alternatives to Bash scripting for embedded systems, evaluating languages like Elvish and Nushell based on criteria such as arrays and external program calls, while documenting their experiences.