Standard input is a stream of data that is fed to a program. By default, standard input gets data from the keyboard, but it is also possible to get it from a file.
Standard output
Standard output is the basic operation that displays information on a device. Not every program generates such output. By default, the standard output displays the data on the screen, but it is possible to redirect it to a file.
Naming variables
Why naming is important As you know, every variable should have a unique name that identifies it. Naming variables can seem easy. However, it is not true. Experienced programmers are very cautious with choosing names for variables, so their code is easy to follow. It is very important, as programmers spend a lot of time reading code written by others. Trust us — your code…
Coding style conventions
Conventions It is a fact that programmers can spend more time reading code written by others than creating it from scratch. That is why it is so important to write clearly and concisely. If you have a team of developers, every line of code should be uniform. In this case, it will be easy to read.
Comments
Here comes a comet… Oh, sorry, a comment – brief but enlightening. So, what exactly are those comments and what do we need them for? Well, essentially, that’s what we call a special text that will be ignored by the compiler. Comments allow you to clarify a piece of code or exclude it from the compilation process (that is, disable it). Throughout this course, we…
Overview of the basic program
In this lesson, you will write your first Kotlin program, which prints “Hello, World!” This is the first step that every beginner is to take. Although the program itself is very simple, it is still a working program, and it shows the basic syntax of the programming language.
Basic literals
Regardless of their complexity, all programs essentially perform operations on numbers, strings, and other values. These values are called literals i.e. in the most basic sense or meaning of the symbol.
Kotlin evolution principles
In this topic, we will tell you about how the Kotlin language develops. You will learn the principles of its evolution and how you can be involved in that process. You’ll also find out how to understand the essence of the changes according to the update version and what levels of stability the language has.
Introduction to Kotlin
What is Kotlin? Kotlin is a highly effective modern programming language developed by JetBrains. It has a very clear and concise syntax, which makes your code easy to read. Kotlin is widely used around the world, and its popularity among developers is constantly growing. Many developers who use Kotlin note that it makes their work faster and more exciting 🙂 Knowledge of Kotlin allows developers to write…
Unicode
As you know, computers operate in binary code so, naturally, different kinds of symbols that we use need to be transformed into numbers. For this purpose, different encodings were created and implemented over the years.