Re: swift and objective-c
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