Swift should avoid abbreviations in method names and keywords
| Originator: | david.w.hart | ||
| Number: | rdar://17192148 | Date Originated: | 05-Jun-2014 09:27 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Swift seed 1 |
| Classification: | Enhancement | Reproducible: | Always |
In the WWDC session Building Modern Frameworks we are encouraged to continue to be fairly verbose in our naming conventions in Swift, and I think that's a good thing. But on the other side, Swift seems to favour abbreviations, which I don't like. For example, for a language that gets rid of the baggage of C, println sounds fairly bad. printLine is only 2 extra characters and sounds much better. Similarly, the func keyword could be function, it's only 4 extra characters and code completion is here to help us.
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!