Comment

Comment by protomyth

I do wish the Swift developers had allowed actual Objective-C calls in Swift to make it look the same.

Objective-C

  [aPath addLineToPoint:CGPointMake(200.0, 40.0)];
proposed

  aPath.(addLineToPoint:CGPoint(200.0, 40.0));
the more complicated example would be:

Objective-C

  [object selector1:item1 selector2:item2];
to

  object.(selector1:item1, selector2:item2);
although I'm still not sure about the love of commas
parent protomyth 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton