2 ms·
> The main reason this happens in Python is that creating actual datatypes is incredibly clunky It's not clunky, it's outright impossible. Datatypes are inhabi
by catnaroek 10y ago
> The main reason this happens in Python is that creating actual datatypes is incredibly clunky
It's not clunky, it's outright impossible. Datatypes are inhabited by compound values (data constructors applied to arguments), but Python simply doesn't have compound values. All it has is object identities, which are primitive and indecomposable values no matter how compound the object is.
Sadly, the same is true in Scala.