× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Sun, Aug 13, 2017 at 10:17 PM, Jack Woehr
<jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Go Language: w/rt/ Pike, strings, runes, byte slices, see also
https://groups.google.com/forum/#!topic/golang-nuts/84GCvDBhpbg

Jack, I'm not sure what you are trying to illustrate with that thread.
I said that the one thing I might appreciate about strings in Go (if
true) is that the language discourages conflating bytes and
characters.

The thread you linked to is making me believe that Go actually makes
it quite easy to conflate them, and moreover makes it easy to conflate
integers and Unicode "platonic ideal characters".

Maybe we are not on the same page regarding the meaning of "conflate".
What I mean when I say it is easy to conflate two things is that it is
very easy to mistake one thing for the other; or for the distinction
between the two things to be quite blurry. It's pretty well
established that in the pre-Unicode world, it was basically accepted
that the distinction between bytes, (small) integers, and characters
should be very, very hazy. At least if you wanted to get any real work
done on a computer. Because computers were short on resources and
programmers loved to be macho and clever.

What you've shown me and what I've read so far seems to indicate that
Go is merely doing what C does, except updating from ASCII to UTF-8.
Which means in some ways it's even more confusing than C, and
perpetuating common misunderstandings about Unicode and character
encodings.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.