Keyword for a function in the new Swift Language

Originator:TheCocoaNaut
Number:rdar://17144758 Date Originated:04-Jun-2014 11:42 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode6-Beta 6.0
Classification:Enhancement Reproducible:Always
 
Summary:
It's really cosmetical but I want to see the keyword "function" instead of "func" in Swift. Every time I see it, it baffles me. We have space more than we need and we have auto-complete. Using the hole word is much more readable than every abbreviation.

Steps to Reproduce:
Just create a new function in Swift.

Expected Results:
Auto-complete should write the keyword "function"...

Actual Results:
...but every time I will get the garbled "func".

Regression:
It occurs every time, in that very first release of Swift.

Notes:
-

Comments

Hello NO!

Swift is already more verbose than Obj-C with it's nonsense syntax sugar like "->" and default indent, why do I need another 4 chars less space than we already have?

By aigner.erik at June 4, 2014, 10:49 a.m. (reply...)

I agree with @TheCocoaNaut; please write a rdar with that suggestion and I'll be sure to file a duplicate; I hate writing -> is not natural; would have rather only type > or whatever else but -> is a no no

So, write a rdar with a suggestion to get rid of that "->" nonsense. (-:

By TheCocoaNaut at June 4, 2014, 2:20 p.m. (reply...)

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!