4 ms·
You can't create an "easy to use" function if you name it foo and you name your variables a, b, c and d or blat or faz or whatever. "Which is just about as con
by blub 16y ago
You can't create an "easy to use" function if you name it foo and you name your variables a, b, c and d or blat or faz or whatever.
"Which is just about as concise as you can get. Of course it would be "nice" if objective-c allowed for parameter order to not be meaningful, but that would require dictionaries of parameters, instead of what really happens"
It's pretty easy for the compiler to look at the param name at the call site and compare it to what was declared. No dictionaries needed at run-time.