What is the difference between statically typed and dynamically typed languages?

后端 未结 16 1952

I hear a lot that new programming languages are dynamically typed but what does it actually mean when we say a language is dynamically typed vs. statically typed?

16条回答
  •  南笙
    南笙 (楼主)
    2020-11-22 01:51

    Sweet and simple definitions, but fitting the need: Statically typed languages binds the type to a variable for its entire scope (Seg: SCALA) Dynamically typed languages bind the type to the actual value referenced by a variable.

提交回复
热议问题