Getting Started with Kotlin – Tutorial 1 – Basic Syntax, Variables and Data Types

In the previous tutorial we saw the basic Hello World program written in Kotlin. Lets examine it more deeply.

Notice something weird? The main function is defined all by itself, its not inside a class, this is because Kotlin treats functions as first class citizens. “What does that means?” Read more…