Hello World in Kotlin
Every programming journey starts with Hello World. Let’s write our first Kotlin program.
The Code
Create a file named Hello.kt:
| |
Every programming journey starts with Hello World. Let’s write our first Kotlin program.
Create a file named Hello.kt:
| |
Kotlin’s type system is one of its defining features. It combines the safety of static typing with the convenience of type inference, so you rarely need to write explicit type annotations while …
Read more →Operators are the building blocks of expressions in any programming language. Kotlin provides a rich set of operators that go beyond the standard arithmetic and logical operators you’d expect …
Read more →Control flow is how a program decides what to do next: which branch to take, which block to repeat, and when to stop. Kotlin keeps the familiar if, for, and while from Java but reshapes them around …
Functions are the building blocks of any Kotlin program. They let you package logic into reusable, named units, give it clear inputs and outputs, and compose larger programs out of small, testable …
Read more →In 1973, Carl Hewitt published a paper describing something he called the Actor model — isolated computational units that communicated exclusively by message passing, with no shared memory, no locks, …
Read more →In 2009, Tony Hoare stood at the QCon conference in London and confessed to a crime.
“I call it my billion-dollar mistake,” he said. “It was the invention of the null reference in …
Read more →Open almost any programming language reference and you will find, somewhere near the beginning, a section explaining how to define a reusable named block of code. The concept is universal. The word …
Read more →Every programming language is, at its core, a written argument. An argument that the languages which came before failed at something important — something worth spending years of your life to fix. …
Read more →Showing 1–9 of 9 posts (page 1 of 1)