Productivity enhancements, such as better compile-time messages, are highlighted. Credit: insta_photos / Shutterstock Gleam 1.5, the latest version of a statically typed language for the Erlang virtual machine and JavaScript runtimes, has been published, with productivity improvements such as upgraded compile-time error messages. Launched September 19, Gleam 1.5 can be accessed from GitHub. With this release, compile-time error messages for inexhaustive pattern matching have been upgraded to show the unmatched values using the syntax the programmer would use in their code, respecting aliases and imports in modules. The change makes it easier to understand an error message. Missing patterns can be copied from the error directly into the source code. Also with Gleam 1.5, implicit todo formatting is featured. If developers write a use expression without any more code in that block, the compiler implicitly inserts a todo expression. With this release, the Gleam code formatter will insert the todo to make it clearer what is happening. Version 1.5 follows the March announcement of Gleam 1.0, which then was followed by several point releases. Gleam itself is positioned as a language for building type-safe systems that scale. Elsewhere in Gleam 1.5: Language server code actions are featured, including auto-completion for local variable and function arguments to the language server. Silent compilation is featured, tending to a situation in which when a command such as gleam run or gleam test is run, progress information is printed. Sometimes, developers only want to see the output from tests or programs; a no-print-progress flag has been added to silence the additional output. Also, this information is now printed to the standard error rather than standard out, making it possible to redirect it elsewhere in a developer’s command line shell. The build tool now skips compiling code if a dependency module is being run. HTML documentation has been improved. The compiler now shows a helpful error message if developers try writing an if expression instead of a case. Gleam has one single-flow construct: the pattern matching the case expression. Related content feature What is Rust? Safe, fast, and easy software development Unlike most programming languages, Rust doesn't make you choose between speed, safety, and ease of use. Find out how Rust delivers better code with fewer compromises, and a few downsides to consider before learning Rust. By Serdar Yegulalp Nov 20, 2024 11 mins Rust Programming Languages Software Development how-to Kotlin for Java developers: Classes and coroutines Kotlin was designed to bring more flexibility and flow to programming in the JVM. Here's an in-depth look at how Kotlin makes working with classes and objects easier and introduces coroutines to modernize concurrency. By Matthew Tyson Nov 20, 2024 9 mins Java Kotlin Programming Languages analysis Azure AI Foundry tools for changes in AI applications Microsoft’s launch of Azure AI Foundry at Ignite 2024 signals a welcome shift from chatbots to agents and to using AI for business process automation. By Simon Bisson Nov 20, 2024 7 mins Microsoft Azure Generative AI Development Tools news Microsoft unveils imaging APIs for Windows Copilot Runtime Generative AI-backed APIs will allow developers to build image super resolution, image segmentation, object erase, and OCR capabilities into Windows applications. By Paul Krill Nov 19, 2024 2 mins Generative AI APIs Development Libraries and Frameworks Resources Videos