Andrey (azangru) wrote,
Andrey
azangru

Map used where, semantically, it should have been forEach. I fucking hate it! Written by a master, too (creator of Preact, works at Google); so presumably he either knew what he was doing, or didn't give a fuck: https://github.com/developit/mitt/blob/master/src/index.js#L59-L60

Not sure what purpose the slice() serves there either.
Subscribe

  • Via Twitter

    Via a tweet, but I thought I'd get my own copy. A beautiful illustration of how a caption totally misrepresents what's been captured in the photo.…

  • (no subject)

    Here's an extract from Uncle Bob's book Clean Agile. Although he has fallen out of grace with the champions of social justice, the sentiment…

  • (no subject)

    Twelve thousand people pressed the button. Obviously most of them his followers, but still... interesting:

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 4 comments