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)

    Tweeted and retweeted by developers. Dunno. Been working for me. Can't speak to excellence, but certainly lots of stimulating humiliation:

  • (C)opied from Twitter

    Don't know if this is real or not, but if it is, it's really strange that Canadian bureaucrats should be specifically instructed not to use the…

  • (no subject)

    This was a good talk. Interesting to see that SvelteKit is taking the same direction as, by using html forms to submit data without the…

  • 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.