Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: