3 ms·
I feel like Swift is becoming more like Ruby over time. 2 of the features here (Key Path Expressions and Subscript default arguments) were recently introduced t
by cknoxrun 7y ago
I feel like Swift is becoming more like Ruby over time. 2 of the features here (Key Path Expressions and Subscript default arguments) were recently introduced to Ruby. This isn't a bad thing, just an interesting progression.
- dep_b 7y agoKey path solves a real problem for me, since you can pass in a function that accepts the value to map which looks really clean, but you cannot operate on the variable unless you create a block.