top | item 45517747

(no title)

eyelidlessness | 4 months ago

> everything gets converted to an array at the drop of a hat

Can you name an example? IME the opposite is a more common complaint: needing to explicitly convert values to arrays from many common APIs which return eg iterables/iterators.

discuss

order

IshKebab|4 months ago

`map` returns an array and can only be called on an array.

eyelidlessness|4 months ago

Right, but I’m not clear on what gets converted to an array. Do you mean more or less what I said in my previous comment? That it requires you (your code, or calling code in general) to perform that conversion excessively?