Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72572 > unrolled thread
| Started by | Michael Torrie <torriem@gmail.com> |
|---|---|
| First post | 2014-06-03 19:47 -0600 |
| Last post | 2014-06-03 19:47 -0600 |
| 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.
Re: OT: This Swift thing Michael Torrie <torriem@gmail.com> - 2014-06-03 19:47 -0600
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2014-06-03 19:47 -0600 |
| Subject | Re: OT: This Swift thing |
| Message-ID | <mailman.10663.1401847530.18130.python-list@python.org> |
On 06/03/2014 03:01 PM, Chris Angelico wrote: > On Wed, Jun 4, 2014 at 6:43 AM, Sturla Molden <sturla.molden@gmail.com> wrote: >> A Python with static typing would have been far better, IMHO. It seems they >> have created a Python-JavaScript bastard with random mix of features. >> Unfortunately they retained the curly brackets from JS... > > More important than the syntax is the semantics. Have they kept the > embarrassment of UTF-16 strings? I skimmed the docs, and I *think* > they've made it support Unicode. No idea how performance and memory > usage are, but once you have the semantics right, you can worry about > performance later. 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 In some ways Swift reminds me of Vala. IE it's syntactic sugar around existing class libraries that expose them as basic types.
Back to top | Article view | comp.lang.python
csiph-web