Okay. So we’ll create some of the X-Men using all of the different patterns to see, in practice, how they work, as well as what their differences and similarities are.
This is a trap I’ve found myself falling into several times.
for loop or another one of the built-in array methods is what you need.
Let’s create a simple example of a bad use case of the
let array = [1, 2, 3];array.forEach(num => num += 1);
forEach accepts a callback function as an argument (
num => num += 1), which in turn has one parameter,
num. This parameter…
Last December, after having been searching for over a month what on 🌎 to do with my life (that is, after 4 years of going all the wrong ways), it seemed like I had finally found a direction to head toward when I stumbled on Web Development. Naturally, I was seeing all these terms like front-end developer, back-end, full-stack, computer science, software engineer, UI, UX and it was all Greek to me — except they weren’t cause I speak Greek.
And so I began looking for a course to follow along and after several days I found Udemy and I…
Studying Software Engineering @Launch School