Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72589

Re: OT: This Swift thing

From Terry Reedy <tjreedy@udel.edu>
Subject Re: OT: This Swift thing
Date 2014-06-04 00:42 -0400
References (2 earlier) <CAAu18hd8Spu98vcx6M+JQqZiYXXXu38et1i2quSNy506i=ESYA@mail.gmail.com> <1685918893423520358.034637sturla.molden-gmail.com@news.gmane.org> <CAPTjJmpRAL2HHtdQ410AgSU44mhaXy3H6XTYbRjnc_Cc4eZv6g@mail.gmail.com> <538E7ABE.4060200@gmail.com> <CAPTjJmqTSRYNvU15ugpiS4Bn28aqJ32Rax2sP1tkr_qCCd8Tdg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.10675.1401856942.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 6/3/2014 10:21 PM, Chris Angelico wrote:

>> https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/StringsAndCharacters.html
>
> Yeah, I was looking at the same page. Note how, further down, a syntax
> is given for non-BMP character entities (the same as Python's), and
> then a bit more down the page, iteration over a string is defined,
> with a non-BMP character in the example string. That's a good start.
> However, keep going down... and you find that the length of a string
> is calculated by iteration, which is a bad sign. I don't see anything
> about indexing, which is the most important part.

I believe go uses utf-8 and the above might indicate that of swift.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: OT: This Swift thing Terry Reedy <tjreedy@udel.edu> - 2014-06-04 00:42 -0400

csiph-web