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
Procedural language
Functional Programming language
Object-oriented programming language
Similarly, There are two types of programming languages
High-level programming language Low-level languages also called machine or assembly languages
Here is a comparison of both languages.
Procedure Language | Object-Oriented Language |
---|---|
Contains Procedure | Contains Methods |
Records | Objects |
Modules | Classes |
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 |
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
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 |
There are two types scoping in variables on a language
Dart Programming language tutorial for beginner examples.
Posted January 1, 0001 by ‐ 1 min read
Dart Programming language tutorial for beginner examples.
Posted January 1, 0001 by ‐ 3 min read
Dart Learn how to to do type annotations in Dart using typedefs.
Posted April 20, 2022 by ‐ 2 min read
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 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 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 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 definition and calling function with arguments examples flutter example
Posted June 24, 2022 by ‐ 4 min read
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 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
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
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
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 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
How to Arithmetic Operators in dart with examples in dart
Posted May 4, 2022 by ‐ 2 min read
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 class with keyword examples and errorswith examples
Posted April 9, 2022 by ‐ 3 min read
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 class variable and methods examples in dart
Posted April 2, 2022 by ‐ 3 min read
Dart this examples constructor methods instance variables example in dart
Posted April 1, 2022 by ‐ 2 min read
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 examples using new and literal syntax and convert Symbol to String example in dart
Posted March 28, 2022 by ‐ 1 min read
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 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
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 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 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 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
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 Nameless Functions examples - Closure, Arrow syntax Lambda,Anonymous functions.
Posted June 6, 2022 by ‐ 2 min read
Dart lexical scopes and lexical closure functions with examples.
Posted June 24, 2022 by ‐ 2 min read
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
This is getting start page for learning Ruby tutorials with examples.
Posted January 1, 0001 by ‐ 1 min read
Different variable types and variable declaration in ruby programming language.
Posted June 18, 2022 by ‐ 1 min read
This is getting start page for learning ruby tutorials with examples.
Posted May 31, 2022 by ‐ 1 min read
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
Learn Different Loop types in Ruby Code language.
Posted January 1, 0001 by ‐ 1 min read
This is getting start page for learning ruby tutorials with examples.
Posted January 1, 0001 by ‐ 0 min read
This is getting start page for learning ruby tutorials with examples.
Posted January 1, 0001 by ‐ 0 min read
ruby case conditional statement examples Ruby for beginner and experienced
Posted January 1, 0001 by ‐ 2 min read
ruby if-else tutorials with examples Ruby for beginner and experienced unless conditional statement and modifier
Posted January 1, 0001 by ‐ 3 min read
This is getting start page for learning ruby tutorials with examples.
Posted January 1, 0001 by ‐ 2 min read
This is getting start page for learning Python tutorials with examples for beginner, developer and experienced.
Posted January 1, 0001 by ‐ 1 min read
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
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
Learn inbuilt datatypes supported in Python.
Posted January 1, 0001 by ‐ 1 min read
Rust tutorials and beginner guide for professionals and developers Rust file extension advantages and disadvantages.
Posted January 1, 0001 by ‐ 2 min read
This is install, uninstall,upgrade Rust learning Rust tutorials with examples.
Posted May 9, 2022 by ‐ 4 min read
Learn Rust Functions, Declare,multiple arguments,closure, Return multiple values with examples.
Posted April 21, 2022 by ‐ 3 min read
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
Learn Rust scalar and Compound types tutorials with examples.
Posted April 19, 2022 by ‐ 1 min read
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
Learn Rust scalar and Compound types tutorials with examples.
Posted April 16, 2022 by ‐ 3 min read
This is Hello World Rust sample first program learning Rust tutorials with examples.
Posted April 16, 2022 by ‐ 2 min read
This is Hello World Rust sample first program learning Rust tutorials with examples.
Posted April 15, 2022 by ‐ 1 min read
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
This is Hello World Rust sample first program learning Rust tutorials with examples.
Posted April 11, 2022 by ‐ 3 min read
Rust loop iterations with break and coninue in Rust tutorials with examples.
Posted April 11, 2022 by ‐ 2 min read
Rust variables - scopes,mutable and immutable, naming conventions tutorials with examples.
Posted April 11, 2022 by ‐ 3 min read
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 simple if, if else and if else if examples conditional expression statements with examples conditional decisive
Posted April 14, 2022 by ‐ 3 min read
This is getting start page for learning Ruby tutorials with examples.
Posted January 1, 0001 by ‐ 1 min read
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
How to write a if, if-else, if-else-if in Swift programming language.
Posted January 1, 0001 by ‐ 2 min read
Matlab Programming language tutorial for beginner examples.
Posted January 1, 0001 by ‐ 1 min read
This tutorial covers Matlab comments Single multi-line comments API documentation comments block comments with example
Posted January 1, 0001 by ‐ 2 min read
This is getting start page for learning Nim tutorials with examples.
Posted January 1, 0001 by ‐ 1 min read
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
This is getting start page for learning Nim tutorials with examples.
Posted January 1, 0001 by ‐ 1 min read
This tutorial covers nim comments Single multi-line comments API documentation comments block comments with example
Posted January 1, 0001 by ‐ 2 min read
This is getting start page for learning OCaml tutorials with examples.
Posted January 1, 0001 by ‐ 1 min read
This tutorial covers Lisp comments Single multi-line comments, and block comments with example
Posted January 1, 0001 by ‐ 1 min read