• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: swift and objective-c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: swift and objective-c


  • Subject: Re: swift and objective-c
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 04 Jun 2014 10:14:08 -0700

On 03 Jun 2014, at 14:16, Ron Hunsinger <email@hidden> wrote:
> My initial reaction is mostly positive, but there are some defects:
>
> The range operators:
> -	In Swift, a..b includes a and excludes b; a...b includes both endpoints.
> -	In Ruby, it's exactly the opposite. a..b includes both endpoints; a...b excludes b.
> -	In Pascal, a..b includes both endpoints. There is no ... operator.

 Same here. Too easy to fat-thumb an extra dot in here, causing hard-to-spot by humans (and near-impossible to detect by the computer) errors. Like an app loading one item too few from a file at each startup, causing the user to slowly and subtly lose items in a database on each save/load round-trip.

Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Swift question
      • From: David Delmonte <email@hidden>
References: 
 >swift and objective-c (From: "McLaughlin, Michael P." <email@hidden>)
 >Re: swift and objective-c (From: Roland King <email@hidden>)
 >Re: swift and objective-c (From: Ron Hunsinger <email@hidden>)

  • Prev by Date: Re: swift and objective-c
  • Next by Date: Re: swift and objective-c
  • Previous by thread: Re: swift and objective-c
  • Next by thread: Swift question
  • Index(es):
    • Date
    • Thread