Paul,

I appreciate the thorough and opinionated response. I agree with you that we don’t live and die by the millisecond. I’m coming to the conclusion that the two camps (forEach vs for…of) feel strongly with regards to the readability of each and the validity of duck-typing.

Your response provides the counter arguments in support of .forEach() and for that your contributions to the discussion are very appreciated!

Written by

Top writer with 1M+ views. Follow me at medium.com/code-85 and medium.com/growth-85

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store