What is coding? What is coding used for, how coding works, and benefits of learning coding #1
Tags: apoorveverma, coding
Published: 2021-02-10 09:24:45

![](RackMultipart20210210-4-1g2o5h4_html_1f333f0837c2e26e.png)

**If**  you don&#39;t know anything about coding, then you&#39;ve come to the right place. We will guide you on how you can learn to code. Today, we are going to talk about coding. We will answer the question: [**What is coding?**   **How coding is used**   **How coding works**  and  **benefits of learning**](https://apoorveverma.com/software-development/what-is-coding-what-is-coding-used-for-how-coding-works-and-benefits-of-learning-coding/).

# What is coding?

Computers are amazing, but they can&#39;t think for themselves (yet). Coding is a method of communicating with a computer.  **Coding is used for writing**  systematic lines of instructions that will perform certain actions. Coding uses computer programming languages ​​to give computers and machines a set of instructions to perform tasks. Coding allows us to create things like computer software, websites, apps, and video games, operating system, etc…

# What is computer programming languages?

A programming language is a terminology and a set of syntax rules to instruct computer devices to perform specific tasks. Programmers who use code writing are called  **&quot;high-level languages&quot;**. And after compilation, the code changes to a  **&quot;low-level language&quot;**  that the computer can understand. Almost all programming languages work in the same way, but each programming language has a different syntax.

# There are some example of programming languages.

Python, JavaScript, Java, Ruby, C Language, C++, C#, Go, etc…

Here is an example of printing Hello World using the Python programming language.

_print(&quot;Hello, world This is Apoorve Verma&quot;)_

# How coding works?

Simply, code is what tells your computer what to do. Let&#39;s take a deeper dive, computers don&#39;t understand words. They only understand the concepts of on and off. The capabilities of a computer are switched on and off by  **switches**  and  **transistors**. The binary code represents these on and off transistors as  **1 and 0 digits**. An infinite number of combinations of these codes make your computer work. To make binary code manageable, computer programming languages ​​were formed. These languages ​​serve various purposes, but they all allow programmers to translate important commands into binary code.

# The Process of compiled programming languages:

A  **compiled language**  is a programming language whose implementations are typically compilers and not interpreters.

![](https://apoorveverma.com/wp-content/uploads/2020/12/processes-1024x273.jpg)

Example of Compiled Programming languages.

**Example** : C, C++, Go, COBOL, etc…

# The Process of Interpreted programming languages:

An  **interpreted language**  is a programming language whose implementations execute instructions directly and freely, without previously compiling a program into machine-language instructions.

![](https://apoorveverma.com/wp-content/uploads/2020/12/interpreter-1024x273.jpg)

Example of Interpreted Programming languages.

**Example** : JavaScript, Perl, Python, BASIC, etc…

# JIT Compilation or dynamic translation or run-time compilations:

**Just-in-time (JIT)** compilation is a method of executing computer code that involves compilation during the execution of a program —  **at run time**  — rather than before execution. It is a  **hybrid**  between normal compilation also known as  **ahead-of-time compilation**  and interpretation.

Example of JIT Compilation language.

**Example** : JavaScript, C#, Java, etc…

# There are a few main characteristics:

![](https://apoorveverma.com/wp-content/uploads/2020/12/main-characteristics-1024x170.jpg)
# Benefits of learning coding:

· You can make your own Website.

· Coding ability gives a new perspective to problem-solving.

· Learning to code offers career opportunities.

· You can start your own Business.

· You can do Freelancing.

· etc…

# Terminology:

**Source code**  is a list of human-readable instructions that a computer programmer writes while he is developing a program.

**Compiler**  is a special program that processes statements written in a particular programming language (the source code) to a machine language module (called an object file).

**Interpreter**  is a computer program that directly executes instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program.

**Object file**  is a computer file containing the object code, which is the machine code output of the assembler or compiler. Object code is usually moveable and is usually not directly executable.

**Runtime library**  is a collection of software programs used at program run time to provide one or more basic program functions or services.

**Linker**  is a computer system program that takes one or more object files and combines them into a single executable file, &quot;library file&quot;, or another &quot;object file&quot;.

**Executable File:**  A program file that can be run by a computer or device.

**Thank You** 😀 !

**Source of Article: ** [**What is coding?**](https://apoorveverma.com/software-development/what-is-coding-what-is-coding-used-for-how-coding-works-and-benefits-of-learning-coding/)