MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/8z7z5r/why_is_python_so_slow/e2ivh8w/?context=9999
r/Python • u/Anthonypjshaw • Jul 16 '18
51 comments sorted by
View all comments
25
In a “Strongly-Typed” language, you have to specify the type of a variable when it is declared. Those would include C, C++, Java, C#, Go.
In a dynamically-typed language, there are still the concept of types, but the type of a variable is dynamic.
Yet another person doesn't know the difference between strong typing and static typing, apparently.
0 u/[deleted] Jul 16 '18 [deleted] 1 u/demmian Jul 16 '18 C, for example, has static typing, but it is weakly typed. [Python has dynamic typing, but it is strongly typed.] 1 u/[deleted] Jul 16 '18 soooo what does that mean? 1 u/demmian Jul 17 '18 You have to declare the types of variables in C; however, you can treat a char as an int.You don't declare the types of variables in Python. However, you can treat a type as another type.
0
[deleted]
1 u/demmian Jul 16 '18 C, for example, has static typing, but it is weakly typed. [Python has dynamic typing, but it is strongly typed.] 1 u/[deleted] Jul 16 '18 soooo what does that mean? 1 u/demmian Jul 17 '18 You have to declare the types of variables in C; however, you can treat a char as an int.You don't declare the types of variables in Python. However, you can treat a type as another type.
1
C, for example, has static typing, but it is weakly typed. [Python has dynamic typing, but it is strongly typed.]
1 u/[deleted] Jul 16 '18 soooo what does that mean? 1 u/demmian Jul 17 '18 You have to declare the types of variables in C; however, you can treat a char as an int.You don't declare the types of variables in Python. However, you can treat a type as another type.
soooo what does that mean?
1 u/demmian Jul 17 '18 You have to declare the types of variables in C; however, you can treat a char as an int.You don't declare the types of variables in Python. However, you can treat a type as another type.
You have to declare the types of variables in C; however, you can treat a char as an int.
You don't declare the types of variables in Python. However, you can treat a type as another type.
25
u/13steinj Jul 16 '18
Yet another person doesn't know the difference between strong typing and static typing, apparently.