3 ms·
The functional solution would be to parse the line in one .map statement and apply the formula in the next, not doing both in the same. Then you get more option
by username90 7y ago
The functional solution would be to parse the line in one .map statement and apply the formula in the next, not doing both in the same. Then you get more options for handling errors, like filtering between the map statements or bubbling them from there.