News for hackers. Stuff that matters.
Re:Swift Function Fun Facts by acqq on Sunday April 19, 2015 @04:32AM (#9402417)
If the goal is "is minimal " and "can be supported easily over a longer period of time" he should stick to the API and not try to wrap everything. He can make his own functions which are more minimal for his use cases. I argue that he will never in his code use most of the things he tries to cover. If he just writes just what he really needs in his real use cases he'll have much less problems for supporting it.

The worst code to support is "I don't use that but I might need it once."

Re:Swift Function Fun Facts by je42 on Sunday April 19, 2015 @04:47AM (#9402449)
The point is not the specific example, but that swift doesn't support currying with default arguments.