static typing vs strong typing site:stackoverflow.com - EAS

About 185,000 results
  1. Global web icon
    stackoverflow.com
     ·
    Apr 23, 2020
    From what I understand, dynamic typing is the same as weak typing and strong typing is the same as static typing, but I'm not sure I'm correct.
    ✓ Static typing vs dynamic typing: Static typing is when your type checking occurs at compile time. You must define a type for your variables inside of your co…
    https://stackoverflow.com/questions/11889602
    Feedback
  2. https://stackoverflow.com/questions/2690544

    Apr 22, 2010 · Static typing is where the type is bound to the variable. Types are checked at compile time. Dynamic typing is where the type is bound to the value. Types are checked at …

    • Reviews: 5

      Code sample

      python main.py
      I am feeling lucky.
      Traceback (most recent call last):
        File "pyth.py", line 7, in <module>
          foo(0)...
    • People also ask
      What is the difference between strong and weak typing and static and dynamic typing?
      The concepts of strong and weak typing and static and dynamic typing are entirely different. Strong and weak typing refers to type consistency, whereas static and dynamic typing refers to the time when names are bound to types.
      stackoverflow.com/questions/2351190/static-dynamic-vs …
      What is strong typing example?
      Strong typing refers to a type system in which there are restrictions to the operation on which two variables of different types can be performed. For example, in a very strongly typed language, trying to add a string and number may lead to an error. string s; number n; s + n; <-- Type error.
      stackoverflow.com/questions/805168/what-is-a-strictly-ty…
      What is the difference between a dynamically typed language and typing?
      That is because typing is associated with the variable rather than the value it refers to. Whereas in a dynamically typed language the type is dynamic, meaning after you set a variable to a type, you CAN change it. That is because typing is associated with the value rather than the variable.
      stackoverflow.com/questions/2351190/static-dynamic-vs …
      What are static typing languages?
      In static typing, types are associated with variables not values. Statically typed languages include Ada, C, C++, C#, JADE, Java, Fortran, Haskell, ML, Pascal, Perl (with respect to distinguishing scalars, arrays, hashes and subroutines) and Scala.
      stackoverflow.com/questions/1517582/what-is-the-differe…
    • https://stackoverflow.com/questions/2351190

      Feb 28, 2010 · Strong and weak typing refers to type consistency, whereas static and dynamic typing refers to the time when names are bound to types. Static

      • Reviews: 2
      • https://stackoverflow.com/questions/1517582

        Oct 4, 2009 · Performance. A compiled language will have better performance at run-time if it's statically typed (vs. dynamically); knowledge of types allows for machine code optimization. …

        • Reviews: 3
        • https://stackoverflow.com/questions/17383084

          I know the difference between static and dynamic typing, and i know the difference between strong and weak typing, but i was asked a question about the difference between STRONG

          • Reviews: 2
          • https://stackoverflow.com/questions/880410

            May 19, 2009 · The main limitation of static types is that they're limited in the constraints they can express. This varies by language, with most languages having relatively simple type systems …

          • https://stackoverflow.com/questions/805168

            May 19, 2016 · Strong typing refers to a type system in which there are restrictions to the operation on which two variables of different types can be performed. For example, in a very …

          • https://stackoverflow.com/questions/323323

            Nov 27, 2008 · Strong-typing means that you can't use one type of variable where another is expected (or have restrictions to doing so). Weak-typing means you can mix different types. In …

          • https://stackoverflow.com/questions/11328920

            Jul 4, 2012 · Strong typing means that the type of a value doesn't change in unexpected ways. A string containing only digits doesn't magically become a number, as may happen in Perl. Every …

          • https://stackoverflow.com/questions/121385

            Jun 7, 2012 · Statically typed language is one where the variables need to be declared before they can be used. While a Dynamically typed language is one where the variables can be …

          • Some results have been removed


          Results by Google, Bing, Duck, Youtube, HotaVN