1
After reading a statement that weakly typed languages were bad, I researched the subject, and eventually discovered the term "statically typed".
Here, in this SO question in English, it is said that:
Static (types are checked at Compile time)
(static (types are checked when compiling))
So a statically typed language can be considered a strong typing language? Because it won’t allow things like true == 1
. Or I got it wrong?
I’m used to being a counterpoint to
dynamic typing
andduck typing
. In the case of static typing, the programmer says that the variable represents an integer or an object of the typeX
. Very common in Java, how to useint i
orString name
. This in counterpoint of Python that you do not declare the type of the variable when creating it.– Jefferson Quesado
This question has exactly the answer I wanted, thank you @Mathias
– Artur Trapp