3 ms·
You mean static-typing. Both Java & Python are strongly typed.. e.g. in python, <3 + "2"> gives <TypeError: unsupported operand type(s) for +: 'int' and 'str
by purple_ducks 8y ago
You mean static-typing.
Both Java & Python are strongly typed..
e.g. in python, <3 + "2"> gives <TypeError: unsupported operand type(s) for +: 'int' and 'str'>
- cies 8y agoStrong typing is static, but usually entails more strictness (e.g. not allowing implicit nulls) and more features at typelevel (e.g. sum types, higher level types).
- lauritzsh 8y agoThis really depends on definitions of strong and weak and this might be another point but C could be considered a static and weak language. Not sure of any other language like this.