On Jul 1, 2015, at 08:09 , Jean-Daniel Dupas <mail...@xenonium.com> wrote:
> 
> Only because you are used to CGRect.

Well, that’s kinda what I was saying: “everyone” is used to CGRect. I’ve been 
trying to think of other types that are as fundamental, but so far I haven’t 
thought of any beyond NS/CGRect/Point/Size

> Here you assume that your code reader is already familiar with the API.

Yes, this is the counter-argument.

As an alternative, I’ve been thinking about syntax coloring for keywords. You 
can sorta preview what this might look like by Command-hovering over a method 
name. (I find syntax coloring extremely helpful, but I know some people just 
find it distracting.)

One other related issue is that Swift currently doesn’t have the Obj-C 
formatting ability of lining up parameter keyword colons vertically on multiple 
lines. I miss this greatly, because it was a good way of turning a jumble of 
keywords and expressions into something readable. Perhaps this feature will 
reappear in a future Swift.



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to