Remove special-case initializers/constructors from Swift

Originator:marcel.weiher
Number:rdar://17180866 Date Originated:
Status:closed Resolved:Won't fix
Product:XCode Product Version:6.0
Classification:Other Bug Reproducible:NA
 
Summary:
Constructors in Java and C++ are language features that seem like a good idea initially, but turn out to be less than useful in practice, leading to unexpected gotchas, complexity and ultimately use of the "Factory Pattern".   Use normal methods / message instead.


"We are not going to do this.  The uniform construction syntax is fundamental to the Swift model."

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!