Andrey (azangru) wrote,

Well, isn't it fun.

There's a repo translating Uncle Bob's recommendations for clean code into javascript. Among other things, it suggests preferring Array.reduce over for-loops.

I remember posting here tweets by a Google devrel several months ago, who suggested precisely the opposite. Array.reduce, he insisted, is unnecessarily complicated; and for-loops are so much more readable and cleaner.

  • (no subject)

    A beautiful cartoon on the front page of The Week:

  • (no subject)

    This is just as bad as a brief exchange with a belligerent guest on a regular news show: Six minutes! Six minutes, during which Rand Paul is…

  • (no subject)

    The war on repetitions:

  • Post a new comment


    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.