2 ms·
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 h
by acqq 12y ago
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."
- je42 12y agoThe point is not the specific example, but that swift doesn't support currying with default arguments.