2 ms·
I don't think your suggestions would work very well as stated. However, I hope soemthing will be in Python 3.5 to add a second string type that helps make it e
by awaretek 12y ago
I don't think your suggestions would work very well as stated. However, I hope soemthing will be in Python 3.5 to add a second string type that helps make it easier to port old libraries to Python 3 AND helps make it easier to use Python 3 in use cases that are currently more complicated than they need be.
Practicality bearts purity.
- mborch 12y agoThe Zen of Python claims "There should be one-- and preferably only one --obvious way to do it." I think multiple string types go against that. It is the simplicity that makes it practical; not an argument of purity in my opinion. To me what's important is that handling of encoding happens on the I/O barrier, and not anywhere else.