What is a static language and what is a dynamic language?

Source: Internet
Author: User

Defined
Usually we call dynamic language, static language refers to dynamic type language (dynamically Typed Language) and static type language statically Typed Language).
There is also a dynamic programming Language (Dynamics programming language), a static programming language.

Dynamic type language: The language that examines the type of data during run time.   Programming in such a language does not give the variable a type, but a data type when it is attached. = = = Script language and other weakly typed languages

Static type language: The opposite of a static type language is the check type at compile time before running. = = "C and other strongly typed languages

C + + does not belong to dynamic languages. C language Function pointers can imitate the implementation of dynamic binding, C + + can implement dynamic binding, virtual methods.

Dynamic binding: Determines the properties of the object and the message that needs to be responded to when the program executes.

What is a static language and what is a dynamic language?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.