What is a programming language.

Programming language is a series of code instructions that run the CPU and process them and gives the output to the user.

There are a different set of programming languages

Difference between Procedural and Object-Oriented programming languages

Here is a comparison of both languages.

Procedure Language Object-Oriented Language
Contains Procedure Contains Methods
Records Objects
Modules Classes

Difference between High level and low-level programming languages

Machines and computers understand low-level language code only. So high-level languages need an interpreter or compiler to generate low-level machine-readable code.

Hight Level Language Low-Level Languages
Code written need to compile to machine-readable code,because of compilation time, It takes some time to process Low-level code understands by machines, and directly runs, so faster
Human readable code machine readable code
It is very easy to write and modify code It is difficult to write code directly
Productivity is good as takes lesser time to write a code Time is taken to write code is more
Code is easy to run on different devices and platforms with lesser modifications Code only runs on specific computers or types, Need code rewrite to run on another machine
Compilers and interpreter required Not required any middleman tools
Examples languages are Java,Dart, Golang etc Assembly is an example

Language Type checking

Type checking is a process of evaluating variable type at compile type or runtime There are two types of type checking

Languages allow you to type check at compile type.

This variable is declared and assigned to a type, you can not change the type. Types are assigned with variables, not data.

For example, In java, You declare a variable of the type String.

String str="Welcome"; // allowed
str=20 // Not allowed to reassign the values

These languages do type checking at runtime. In this variable is declared and assigned to a type, you can change the type and values dynamically. Types are assigned with data, not variables. For example, In javascript, You declare a variable of the type String.

var str="Welcome"; // allowed
str=20 // allowed

What is the difference between Statically Typed and Dynamically Typed programming language

Statically typed languages Dynamically typed languages
Type checking is done at compile time Type checking is done at Run time
Variables types must be declared Variables types are not required but dynamic types
Reassign variable with different type value is not possible Allows to reassign variable with different type data
Variables and expressions are evaluated at compile type Variables and expressions are evaluated at runtime
Java,C,C++ Javascript,Python,Ruby
Advantages are errors are caught at compile time Error-prone at runtime time
Good in terms of performance Lower performance
Compilation time is more Compilation time is less

Static and Dynamic variable scopes

There are two types scoping in variables on a language

Latest Articles

Dart Language

Dart Programming language tutorial for beginner examples.

Posted January 1, 0001 by  ‐ 1 min read

Dart - Windows

Dart Programming language tutorial for beginner examples.

Posted January 1, 0001 by  ‐ 3 min read

Dart - typedefs

Dart Learn how to to do type annotations in Dart using typedefs.

Posted April 20, 2022 by  ‐ 2 min read

Dart - Variables

Dart Hello World First program code for beginner examples How to run dart program using command line dartpad and IDE such as VSCode.

Posted April 10, 2022 by  ‐ 2 min read

Dart - Hello World

Dart Hello World First program code for beginner examples How to run dart program using command line dartpad and IDE such as VSCode.

Posted January 1, 0001 by  ‐ 2 min read

Dart - Enum

Dart enum types are one of the custom dart data types that can store fixed compile-time constants with examples

Posted June 24, 2022 by  ‐ 2 min read

Dart - Extensions

Dart dynamic types are one of the dynamic inbuilt dart data types that can store any type of value, you can reassign with a different type than the declared type value.

Posted June 24, 2022 by  ‐ 1 min read

Dart - Functions

Dart Functions definition and calling function with arguments examples flutter example

Posted June 24, 2022 by  ‐ 4 min read

Dart - Interface

how to define and create implicit and explicit abstract interfaces in the dart, multiple inheritance interface examples

Posted June 24, 2022 by  ‐ 4 min read

Dart - keywords

Dart dynamic types are one of the dynamic inbuilt dart data types that can store any type of value, you can reassign with a different type than the declared type value.

Posted June 24, 2022 by  ‐ 1 min read

Dart - List

how to define and create implicit and explicit abstract interfaces in the dart, multiple inheritance interface examples

Posted June 24, 2022 by  ‐ 4 min read

Dart - Metadata

Learn how to define and create metadata annotation and use it in programs in the dart, metadata annotations examples

Posted June 24, 2022 by  ‐ 1 min read

Dart - Class & Object

Learn class and object creation constructor named parameter setter and getter and functions instance member variables examples.

Posted June 23, 2022 by  ‐ 4 min read

Dart - Collections

Dart Runes data type how to get Unicode UTF-16 of a given string code points in dart and flutter examples

Posted June 23, 2022 by  ‐ 1 min read

Dart - While

Dart While and do while examples in a flutter

Posted May 18, 2022 by  ‐ 2 min read

Dart - Arithmetic Operators

How to Arithmetic Operators in dart with examples in dart

Posted May 4, 2022 by  ‐ 2 min read

Dart - Set

how to define and create implicit and explicit abstract interfaces in the dart, multiple inheritance interface examples

Posted May 3, 2022 by  ‐ 3 min read

Dart - Mixin

Dart Mixin class with keyword examples and errorswith examples

Posted April 9, 2022 by  ‐ 3 min read

Dart - Packages

how to define and create implicit and explicit abstract interfaces in the dart, multiple inheritance interface examples

Posted April 2, 2022 by  ‐ 1 min read

Dart - static keyword

Dart static class variable and methods examples in dart

Posted April 2, 2022 by  ‐ 3 min read

Dart - this keyword

Dart this examples constructor methods instance variables example in dart

Posted April 1, 2022 by  ‐ 2 min read

Dart - Runes

Dart Runes data type how to get Unicode UTF-16 of a given string code points in dart and flutter examples

Posted March 31, 2022 by  ‐ 2 min read

Dart - Symbol

Dart Symbol examples using new and literal syntax and convert Symbol to String example in dart

Posted March 28, 2022 by  ‐ 1 min read

Dart - Switch

Dart switch case examples break and conditional expression and constants in case switch enum case example

Posted March 27, 2022 by  ‐ 3 min read

Dart - Boolean

Dart Boolean is one of the static inbuilt dart data types that can store true and false values. It can be used in conditional expressions such as if and switch statements.

Posted January 1, 0001 by  ‐ 2 min read

Dart - Comments

This tutorial covers dart comments Single multi-line comments API documentation comments block comments with example

Posted January 1, 0001 by  ‐ 3 min read

Dart - Dynamic

Dart dynamic types are one of the dynamic inbuilt dart data types that can store any type of value, you can reassign with a different type than the declared type value.

Posted January 1, 0001 by  ‐ 2 min read

Dart - Number

Dart number types is one of the static inbuilt dart data types that can whole numbers using int type, and floating decimal numbers with double type. num is a superclass of int and double used to store the numeric values which types are not known at compile time.

Posted January 1, 0001 by  ‐ 2 min read

Dart - Strings

Dart String data type how to declare and initialize a string value with examples Unicode emoji and append concatenation and interpolation string syntax

Posted January 1, 0001 by  ‐ 2 min read

Dart - Assert

How to use the assert function in the dart for debugging with examples, advantages, and comparison with error class.

Posted June 23, 2022 by  ‐ 2 min read

Dart - Anonymous & Closure

Dart Nameless Functions examples - Closure, Arrow syntax Lambda,Anonymous functions.

Posted June 6, 2022 by  ‐ 2 min read

Dart - Lexical Scope

Dart lexical scopes and lexical closure functions with examples.

Posted June 24, 2022 by  ‐ 2 min read

Multiple ways to create an array filled with repeated values in the swift example

In this tutorial, Multiple ways to initialize an array with repeated values multiple times assign all elements of an array to the same value in Swift

Posted January 1, 0001 by  ‐ 2 min read

Ruby Language

This is getting start page for learning Ruby tutorials with examples.

Posted January 1, 0001 by  ‐ 1 min read

Ruby - Variables

Different variable types and variable declaration in ruby programming language.

Posted June 18, 2022 by  ‐ 1 min read

Ruby- Datatypes

This is getting start page for learning ruby tutorials with examples.

Posted May 31, 2022 by  ‐ 1 min read

Ruby - Methods

Methods in ruby programming language.

Posted May 16, 2022 by  ‐ 1 min read

Ruby - Comments

Comments are ignored by a ruby interpreter, You can write a single comments multi-line comments shebang comments, and magical comments in a ruby programming language.

Posted January 1, 0001 by  ‐ 4 min read

Ruby - Loops

Learn Different Loop types in Ruby Code language.

Posted January 1, 0001 by  ‐ 1 min read

Ruby - Numbers

This is getting start page for learning ruby tutorials with examples.

Posted January 1, 0001 by  ‐ 0 min read

Ruby - Numbers

This is getting start page for learning ruby tutorials with examples.

Posted January 1, 0001 by  ‐ 0 min read

Ruby - Case

ruby case conditional statement examples Ruby for beginner and experienced

Posted January 1, 0001 by  ‐ 2 min read

Ruby - If else

ruby if-else tutorials with examples Ruby for beginner and experienced unless conditional statement and modifier

Posted January 1, 0001 by  ‐ 3 min read

Ruby Hello World

This is getting start page for learning ruby tutorials with examples.

Posted January 1, 0001 by  ‐ 2 min read

Python Language

This is getting start page for learning Python tutorials with examples for beginner, developer and experienced.

Posted January 1, 0001 by  ‐ 1 min read

Python - String

How to declare a string in python with datatype and string literal syntax in a python programming language. Multiple ways to create multiline string examples

Posted May 18, 2022 by  ‐ 2 min read

Python - Comments

Comments are ignored by Python interpreter, You can write a single comments multi line comments documentation comments in python programming language.

Posted January 1, 0001 by  ‐ 3 min read

Python - Datatype

Learn inbuilt datatypes supported in Python.

Posted January 1, 0001 by  ‐ 1 min read

Rust - Language

Rust tutorials and beginner guide for professionals and developers Rust file extension advantages and disadvantages.

Posted January 1, 0001 by  ‐ 2 min read

Rust - Window install

This is install, uninstall,upgrade Rust learning Rust tutorials with examples.

Posted May 9, 2022 by  ‐ 4 min read

Rust - Function

Learn Rust Functions, Declare,multiple arguments,closure, Return multiple values with examples.

Posted April 21, 2022 by  ‐ 3 min read

Rust - Tuple Type

print and access the tuple data type tuples destructing assignment example, the difference between Tuple and array.

Posted April 20, 2022 by  ‐ 2 min read

Rust - Enum

Learn Rust scalar and Compound types tutorials with examples.

Posted April 19, 2022 by  ‐ 1 min read

Rust - Constant

Rust Constants with examples - scope, shadowing,naming convention difference between variable and const in Rust tutorials with examples.

Posted April 16, 2022 by  ‐ 2 min read

Rust - Data Type

Learn Rust scalar and Compound types tutorials with examples.

Posted April 16, 2022 by  ‐ 3 min read

Rust - For Loop

This is Hello World Rust sample first program learning Rust tutorials with examples.

Posted April 16, 2022 by  ‐ 2 min read

Rust - Cargo

This is Hello World Rust sample first program learning Rust tutorials with examples.

Posted April 15, 2022 by  ‐ 1 min read

Rust - Switch

How to write Switch or match case,examples for string case, number ,enum, range of values, multiple statements examples.

Posted April 14, 2022 by  ‐ 2 min read

Rust - Hello World

This is Hello World Rust sample first program learning Rust tutorials with examples.

Posted April 11, 2022 by  ‐ 3 min read

Rust - Loop

Rust loop iterations with break and coninue in Rust tutorials with examples.

Posted April 11, 2022 by  ‐ 2 min read

Rust - Variables

Rust variables - scopes,mutable and immutable, naming conventions tutorials with examples.

Posted April 11, 2022 by  ‐ 3 min read

Rust - Comments

Comments are ignored by Rust interpreter, You can write a single comments multi line comments in Rust programming language.

Posted April 5, 2022 by  ‐ 2 min read

Rust - While

Rust While and do while examples in a flutter

Posted April 15, 2022 by  ‐ 1 min read

Rust - if else

Rust simple if, if else and if else if examples conditional expression statements with examples conditional decisive

Posted April 14, 2022 by  ‐ 3 min read

Swift Language

This is getting start page for learning Ruby tutorials with examples.

Posted January 1, 0001 by  ‐ 1 min read

Swift - Comments

Comments are ignored by Swift Compiler, You can write a single line or multi line comments in Swift programming language.

Posted May 6, 2022 by  ‐ 2 min read

Swift - if else

How to write a if, if-else, if-else-if in Swift programming language.

Posted January 1, 0001 by  ‐ 2 min read

Matlab - Tutorial

Matlab Programming language tutorial for beginner examples.

Posted January 1, 0001 by  ‐ 1 min read

Matlab - Comments

This tutorial covers Matlab comments Single multi-line comments API documentation comments block comments with example

Posted January 1, 0001 by  ‐ 2 min read

Nim - Tutorials

This is getting start page for learning Nim tutorials with examples.

Posted January 1, 0001 by  ‐ 1 min read

Nim - Hello World

Nim Hello World First program code for beginner examples How to run nim program using command line nim playground and IDE such as VSCode..

Posted January 1, 0001 by  ‐ 2 min read

Nim Installation

This is getting start page for learning Nim tutorials with examples.

Posted January 1, 0001 by  ‐ 1 min read

Nim - Comments

This tutorial covers nim comments Single multi-line comments API documentation comments block comments with example

Posted January 1, 0001 by  ‐ 2 min read

OCaml - Tutorials

This is getting start page for learning OCaml tutorials with examples.

Posted January 1, 0001 by  ‐ 1 min read

Posted January 1, 0001 by  ‐ 0 min read

Lisp - Comments

This tutorial covers Lisp comments Single multi-line comments, and block comments with example

Posted January 1, 0001 by  ‐ 1 min read