Swift types are following variable names (declaration), instead of preceding it.

Originator:raphael
Number:rdar://17249931 Date Originated:10-Jun-2014 03:47 PM
Status:Open Resolved:
Product:Developer Tools Product Version:WWDC14 Release
Classification:Enhancement Reproducible:Not Applicable
 
Summary:

Swift is more in phase with other languages when it comes to method invocation with the dot notation (when compared to Obj-C). But then why does Swift use types that follow the variable name (when declaring a variable) instead of preceding it like most other languages do?

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!