innovationM
← Back to Blogs

HTML5 / CSS / JS

Static and Dynamic Typed Languages

InnovationM Admin 25 Aug 2022 1 min read
Static and Dynamic Typed Languages

In this blog, we will explore the Static and Dynamically typed language. Whenever I come across these two words I am always overwhelmed by these words. So I decided to do some research and share that information as a blog.

We will look into the difference between static and dynamically typed language and the similarity that exists between them.

Difference between Static and Dynamic Type

Static Type Language

  • In statically typed programming languages, type checking occurs at compile time.
  • Explicit type declarations are usually required.
  • A language is statically typed if the type of a variable is known at compile time.
  • Variable assignments are static and cannot be changed.
  • Example: C, C++, Java, Rust, Go, Scala

int number = 42

String name = “Mark”

Dynamic Type language

  • In dynamically typed language type checking takes place at runtime or execution time
  • Explicit type declarations are not required.
  • A language is dynamically typed if the type is associated with runtime value.
  • Variable assignments are dynamic and can be altered.
  • Example: Python, Perl, Ruby, PHP, JavaScript, Erlang

number = 43

name= “Mark”

About the Author

InnovationM Admin

Contributor at InnovationM.

LinkedIn

Transform Your Ideas with Expert Guidance

icon
15+ Years of Expertise

Delivering high-impact solutions with years of industry experience.

icon
100+ Satisfied Clients

Helping contact industry software experts to achieve their brand goals.

icon
250+ In-House Team Members

A skilled team ready to tackle projects of any scale.

Book a consultation call with our experts today