Arc Forumnew | comments | leaders | submitlogin
10 points by mdemare 5945 days ago | link | parent

People keep saying that it's unicode is a library issue, but it's not! It's a language issue!

If you move unicode to the libraries, you have to move the string type to the libraries too, assuming strings are lists of unicode characters. And if you move the string type to the library, how can you convert a symbol to a string?

That's not an option, so the alternative is that strings are just byte arrays, ignorant of their encoding, and you need libraries to find out what the length of a string is, and you're back in the tar pit where Ruby and PHP were in 1997 and where they pretty much still are today.

I've been down that road before. I know exactly where it ends.



10 points by pg 5945 days ago | link

I agree with you, incidentally. But I don't think it's a language issue you have to think about early on.

-----

3 points by masterponomo 5945 days ago | link

I guess I'm enjoying thinking of characters/strings/whatever in the same way I think of a media stream. I don't reason about media streams in my general programming, but when I need to do so I use a specialized, application-specific library--the language isn't built with any preconceived notion of what music is, or an image, or video. I like a minimal (if even that) built-in notion of what char/text is. I like Arc (so far) and I do hope it avoids premature textualization for a very long time:-)

-----