From the course: Introduction to Career Skills in Software Development

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Running source code

Running source code

- This is code in the Kotlin programming language. Let's run it. We see something is happening, and then two sentences are printed to the screen below. The sentences are a result of running, or executing, our code. If you recall, computers only speak one language, machine language. So when we write code in other programming languages, we need a way to have it converted into machine code. For example, programmers often say, "I need to compile my code." Compiling is one way that human-readable code is converted into machine code. You can think of it as an assembly line. On one end is the human-readable code and on the other, machine code. The compiler goes through various steps to transform the code you've written as a programmer into something that the computer can understand and execute. The process of compiling code can be complex. Thankfully, few programmers have to worry about the inner workings of the compiler.…

Contents