+ 3
Strongly typed variables
Does the use of an interpreter obviate the need for strongly typed variables in Python
7 Antworten
+ 3
In .net we usually use data types like int, string etc
+ 3
In .net using native data types is better than using variables AFAIK
+ 3
I think(?) I get what he's saying. In C# there's the `dynamic` keyword so a variable's type can change during runtime.
That's the default behaviour in python and he wants to know whether that's because python is interpreted.
But it's not like I have a good answer to that either.
Yup 😋
+ 1
Python's types are strong.
Are you talking about 'statically typed' instead?
+ 1
Sanjay Kamath, I don't understand the relation of what you just wrote to your question or to what I wrote.
+ 1
What, in your understanding, are variables?
+ 1
I think(?) I get what he's saying. In C# there's the `dynamic` keyword so a variable's type can change during runtime.
That's the default behaviour in python and he wants to know whether that's because python is interpreted.
But it's not like I have a good answer to that either.