• Dumhuvud@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Only tangentially related, but I dislike that filter, reduce and map are eager in JS. Meaning if you chain them, you allocate N-1 arrays that are being discarded right away. C#, Java and Rust have the right approach.