3 ms·
Python has separate bytes and unicode types as well, I think he meant there should be a "black box" type that the program shouldn't try to interpret.
by fulafel 13y ago
Python has separate bytes and unicode types as well, I think he meant there should be a "black box" type that the program shouldn't try to interpret.
- tel 13y agoI don't think you can really play the same game in Python. The idea of separation of types that occurs in Haskell will really require static typing. It means that entire processing pipelines in your code are completely specialized to one type of string or the other (or generalized to both) with no uncertainty.