Better HN
topnewbestaskshowjobs
Log inSign up

aapycgarb

-2 karma · joined May 23, 2015 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

Python's type system is weak whether they self-identify that way or not. Types are implicitly converted in a variety of cases, notably True-ness. Meanwhile, runtime type identity is kind of meaningless; classes and individual objects can have their behavior meaningfully changed at runtime. The most you can say about any variable in Python is that it is a descendant of 'object' or else some primitive type.