On 06/03/2014 03:01 PM, Chris Angelico wrote:
> On Wed, Jun 4, 2014 at 6:43 AM, Sturla Molden <sturla.mol...@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.


In some ways Swift reminds me of Vala.  IE it's syntactic sugar around
existing class libraries that expose them as basic types.

Reply via email to