Easing you into what lies beyond a `For Loop`

For was nice while it lasted, but it’s about time that i = 0 and we move on and learn something new. Let me introduce you to its buddy and your first foray into big kid iteration, .forEach().

I could show you what MDN says, but I imagine you’re here because you’d rather not. That being the case, I’m also going to steer away from using ESMAScript6 and my favorite thicc boi arrows () => in lieu of the more familiar function().

Side by Side: for & forEach

Let’s have a look back at a forloop. …

The classic Stem Gem (v4) in Joshua Tree

If you haven’t tried climbing, it’s amazing, it’s freeing, it makes you strong physically and mentally…it is also profoundly difficult to improve beyond average.

There are a few types of climbing, bouldering being my favorite. Bouldering is essentially reducing a longer traditional roped climb down to its hardest and most technical parts. No rope, no chalk bag, just your shoes and you.

In bouldering, the specific climb you’re working on is called a problem. You’ll see people go mad trying to solve their own, driving their bodies back up the wall, only to approach the problem in the same way

Front end or back end, let me be the first to offer both congratulations and condolences.

Surely, there has been no shortage to the good people who, for better or for worse, have informed you of how difficult your developer education will be. I will add to that. It will be difficult, and depending on where you attend, perhaps the most difficult educational experience you’ve experienced to date.

You will have days where you feel as if you’re a god. You will have days where you realize that, if indeed I am a god, then surely my domain is meager…

Scott Brabson

Front End Dev student at Turing School

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