3 ms·
> But I also would like to be able to call .sum() on my iterable at the end of a chain Yeah, one thing I like about Ruby over Python is the fluent code th form
by dragonwriter 5y ago
> But I also would like to be able to call .sum() on my iterable at the end of a chain
Yeah, one thing I like about Ruby over Python is the fluent code th former allows of that style.
People talk about Guido not liking functional style, but that explains comprehensions over map/filter, but not function-sum() over method .sum().