Image for post
Image for post

With how much it has found itself incorporated into the web development world today, it can be hard for some to understand what Node is, or what it is intended to do. I know it was tricky for me. It was hard to differentiate it from Javascript itself as creating a web application will typically involve using a great deal of Node-related functions and modules within the actual JS code. …


What is BEM?

BEM is a methodology for creating CSS architecture that allows for cleaner, organized, and easier to understand code.

Why use BEM in 2019?

Nowadays, with frameworks such as React and Angular taking the center stage when it comes to web application creation, there has been a shift in focus from traditional global CSS methodologies to local more local and encapsulated forms of CSS — where CSS is applied on to a single component at a time instead of in some huge file shared amongst all elements of an application. I’m talking about CSS-in-JS solutions such as CSS Modules, frameworks such as Styled Components, Emotion, Radium, Glamorous. If constructing an application on your own or joining a company where the use of cutting-edge tech is paramount, there are very few cases where I would advise you NOT to use these alternative CSS solutions. …


If you use Javascript to manipulate data on a daily basis, chances are you are already well-versed in dealing with arrays. Furthermore, if you’re dealing with arrays on a frequent basis, it’s likely that you’re familiar with a handful of crucial array functions. I’m sure it’s hard to imagine not using .filter(), for instance, to remove elements from an array that don’t fit your criteria. Or not using a for loop to perform an operation on each particular item in an array. There are a handful of functions like this, that are indispensable when working with arrays.

But there are a quite a few functions, both new and old, that serve a more nuanced purpose. These functions are often overlooked or ignored, as they are typically only useful in certain edge cases. And when these edge cases arrive, more often than not, a less efficient brute-force method is implemented instead, due to the lack of knowledge about these alternative methods. It is my intention here to champion for the cause of those lesser-known alternative methods. Once you are made aware that they exist, they are more likely to come to mind when putting an implementation together. …