3 ms·
Python only has one type. To quote from the article by professor Harper: "And this is precisely what is wrong with dynamically typed languages: rather than aff
by willtim 9y ago
Python only has one type. To quote from the article by professor Harper:
"And this is precisely what is wrong with dynamically typed languages: rather than affording the freedom to ignore types, they instead impose the bondage of restricting attention to a single type! Every single value has to be a value of that type, you have no choice! Even if in a particular situation we are absolutely certain that a particular value is, say, an integer, we have no choice but to regard it as a value of the “one true type” that is classified, not typed, as an integer."