Mastering Kotlin: Comprehensive Kotlin Programming Language Training
Topics:
● What is a Programming Language?
● Key features
● Environment setup
● “HelloWorld” program in Kotlin
What is a Programming Language?
● A programming language is a vocabulary and set of grammatical
rules for instructing a computer or computing device to perform
specific tasks.
● We can compare it with English language which we use for daily
communication.
● Just like English language, we have syntax(grammer), vocabulary(
keywords) to learn to write program( sentences) with which we can
build applications (Text book).
Key features:
● Statically typed
● Concise
● Safe
● Interoperable with Java
● Functional and Object Oriented
● High performance than JAVA
Statically typed Vs Dynamically typed:
● In statically typed programming languages, type checking
occurs at compile time. At compile time, source code in a
specific programming language is converted to a
machine-readable format. This means that before source
code is compiled, the type associated with each and every
single variable must be known.
● Some common examples of programming languages that
belong to this category are Java, Haskell, C, C++, C#, Scala,
Kotlin, Fortran, Go, Pascal, and Swift.
● In dynamically typed languages, type checking takes place
at runtime or execution time. This means that variables are
checked against types only when the program is executing.
● Some examples of programming languages that belong to
○ this category are Python, JavaScript, Lisp, PHP,
Ruby, Perl, Lua, and Tcl.