Re:Myths of Enterprise Python
by natural219 on Tuesday March 24, 2015 @11:11AM
(#9257060)
This is a great example, which is why I think "strong vs. weak" typing is properly thought of as a scale rather than a classification. Which is used properly in the blog post, merely comparing some instances of implicit conversion in JVM that make less sense by default (all of your examples can be argued to be deliberately useful, as opposed to Javascript WAT-style statements).
[ Parent
| on HN ]
I agree with your second point. Python doesn't pretend to be strongly-typed, but it does use its, uh, 'loose' typing to great advantage.
I particularly like Python's arbitrary-precision integers, where ints are implicitly converted to longs, allowing you to have the performance of ints without the problem of integer overflows.
Re:Myths of Enterprise Python
by jrochkind1 on Tuesday March 24, 2015 @12:14PM
(#9257510)
You say "python doesn't pretend to be strongly-typed", yet the OP is claiming it _is_ strongly typed.
I think the reality is "strongly typed" doesn't really mean much.