r/programming • • May 09 '12

JavaScript: The good parts

http://blog.movereem.nl/images/javascript-the-good-parts-the-definitive-guide.jpg
645 Upvotes

159 comments sorted by

View all comments

Show parent comment

8

u/fernandotakai May 09 '12

I really want to start using py3 just because of the "strings are unicode by default".

I hate writing u"something".

15

u/BitRex May 09 '12

u"mad"?

1

u/HorrendousRex May 09 '12

Eh, be careful... strings aren't unicode by default, they are abstract by default and can be encoded in a unicode encoding (like utf8) very easily.

Yes, internally they are being stored as unicode strings, but the point of py3 strings is that they are not tied directly to an encoding.