4 ms·
I use the equivalent of named parameters in Ruby as my preferred method for a few reasons: 1. Clearly communicates the purpose of the variable 2. Means that o
by rietta 6y ago
I use the equivalent of named parameters in Ruby as my preferred method for a few reasons:
1. Clearly communicates the purpose of the variable
2. Means that order of parameters is not important
3. Makes the internal interface largely compatible with its JSON web service interface
It's been about 10 years since I coded any Objective-C and I do agree that syntax was an oddbal.
- stephenhuey 6y agoYes, I’ve used it in Ruby and now I find myself using it a lot in Dart. Also, the Flutter widgets use it and I find it much easier to figure out which arguments to fill in with my IDE instead of always jumping over to the documentation.