April 14, 2025
I’m Yan Zhulanow, and I lead the Kotlin Analysis API team. Last year, we made a series of announcements about Kotlin K2 mode in IntelliJ IDEA. Now, as K2 mode is about to become the default, I am thrilled to tell you more about everything we had to go through to make this release happen. […]
April 10, 2025
Context parameters are an upcoming feature in Kotlin, with a variety of use cases including more powerful extension methods and better tools for DSL development. Kotlin 2.2.0 will feature context parameters in Beta, and dedicated IntelliJ IDEA support will be available from 2025.1. Context parameters replace another experimental feature in the language, namely context receivers. […]
April 5, 2025
Kotlin Heroes is a fun and challenging contest with problems designed to be interesting for programmers of all levels. Solve algorithmic problems, learn more about Kotlin, and get a chance to win prizes! The main contest will take place on April 7, 2025, but the practice round is already open – so jump in anytime […]
April 4, 2025
Identifying edge cases for testing can be a challenging task, often leaving hidden bugs and vulnerabilities undetected. Fuzz testing (fuzzing) addresses this challenge by automatically generating tests with random or invalid inputs, enabling developers to uncover unexpected exceptions and failure scenarios. Thanks to its effectiveness in detecting critical software flaws, fuzzing has gained widespread use […]
fun main() { val name = "stranger" // Declare your first variable println("Hi, $name!") // ...and use it! print("Current count:") for (i in 0..10) { // Loop over a range from 0 to 10 print(" $i") } }
fun main() {
val name = "stranger" // Declare your first variable
println("Hi, $name!") // ...and use it!
print("Current count:")
for (i in 0..10) { // Loop over a range from 0 to 10
print(" $i")
}
}