NodeOS: how much is too much?

The number and variety of npm packages were always a topic for irony and ridicule. If you are not getting what I am talking about, check out the is-odd npm package with 76 million downloads, is-positive/is-negative packages, literally a package to bless your code and many others. While this seems funny, this poses a serious problem, which may lead to negative consequences. But this time, the community pushed even further and introduced NodeOS, an “operating system powered by node.js and npm”. I am going to explain why this is not true and what it says about the JS community.

read more “NodeOS: how much is too much?”

No, you do not need Windows to develop with JavaScript

The desktop operation systems market is split between 3 major players: the monopolistic behemoth Microsoft with its Windows, pricy Apple with macOS and a myriad of Linux distributions, both community-run and commercially supported. In this article, I will try to convince you to try Linux if you are an active Windows user by giving you very good reasons and busting some myths.

read more “No, you do not need Windows to develop with JavaScript”

Builder pattern in JavaScript without classes

Design patterns are a vital part of software development. They describe common problems and solutions to them. One such pattern is the builder pattern. As Wikipedia puts it, it is “a design pattern designed to provide a flexible solution to various object creation problems in object-oriented programming”. However, I am here to show you that it does not only apply to object-oriented languages and can be achieved in JavaScript without classes.

read more “Builder pattern in JavaScript without classes”

Code Review: Redux

Redux is a state management library used by millions. It provides a simple way to manage your global state, subscribe to it and update it safely. Most of you know what it is, but not many have an idea of how it works under the hood. In this article, I will show you how this project is structured, how it was written and the philosophy behind it. By the end of the reading, you can expect to know how Redux was designed and be able to read its source code freely.

read more “Code Review: Redux”