On 14 May 2015, at 18:50, William Squires <wsqui...@satx.rr.com> wrote: > Swift shows promise, but - like all computer languages - it's a trade-off > between generated code side, and the amount of abstraction the language > presents to those using it, making it easier to turn ideas into code. Making > a (more abstract) language unnecessarily complicated with '?' and '!' doesn't > seem to be going in the right direction, while making string concatenation > less complicated with an overloaded '+' operator does seem to be going in the > right direction (now, if we can only make extracting substrings less > complicated, that'll be even better! It's currently a > pain-in-the-compiler-backend!)
If you want a fun, concise argument against overloading the same operator with different meanings: https://www.destroyallsoftware.com/talks/wat Admittedly, that’s exacerbated by using a language with transparent type conversion, but it’s still a bad idea. Cheers, -- Uli Kusterer “The Witnesses of TeachText are everywhere...” http://zathras.de _______________________________________________ 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