3 ms·
Reduce sounds like a really slow way to do string building
by Redoubts 5y ago
Reduce sounds like a really slow way to do string building
- globular-toast 5y agoOh yeah, it's horrendous, my point was just that it's functionally equivalent and makes more sense as a function than a method on either object. You can actually call it like this if you want, though: `str.join(separator, iterable)`.