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


Groups > comp.lang.python > #72576 > unrolled thread

Re: OT: This Swift thing

Started byChris Angelico <rosuav@gmail.com>
First post2014-06-04 12:21 +1000
Last post2014-06-04 12:21 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: OT: This Swift thing Chris Angelico <rosuav@gmail.com> - 2014-06-04 12:21 +1000

#72576 — Re: OT: This Swift thing

FromChris Angelico <rosuav@gmail.com>
Date2014-06-04 12:21 +1000
SubjectRe: OT: This Swift thing
Message-ID<mailman.10667.1401848481.18130.python-list@python.org>
On Wed, Jun 4, 2014 at 11:47 AM, Michael Torrie <torriem@gmail.com> wrote:
> A Swift string is simply a one-to-one mapping of the NSString class.
> Apple claims it is "unicode compliant" whatever that means.
>
> 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.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web