4 ms·
> Why wouldn't I just unwrap the values first and then do computation with the unwrapped values? Same reason why you iterate over an array instead of assigning
by Zababa 5y ago
> Why wouldn't I just unwrap the values first and then do computation with the unwrapped values?
Same reason why you iterate over an array instead of assigning each value to a temporary variable: you have less code.
- coldtea 5y agoPlus you can do it also for indeterminate size iterators, or values not there yet (promises etc)...