What is the Coupling Pitfall and how to Avoid it?
How to avoid constant tests maintenance and regressions in your code? In this article, we will talk about a new term “the Coupling Pitfall”, what harm it is doing to your code, and a way to fix it.
How to avoid constant tests maintenance and regressions in your code? In this article, we will talk about a new term “the Coupling Pitfall”, what harm it is doing to your code, and a way to fix it.
When it comes to testing, checking a single function is different from testing a complete application at once. It helps to understand the flaws in any units of the application and allows the developers to take appropriate steps.
How to create an Nx generator? How to use it in your Nx workspace? How we converted a workspace generator into a publishable library? And how can boring be good for you?
Nx is a powerful monorepo management tool. It …
Here are 6 practical lessons learned from a production incident, ui-test coverage (using playwright) and code review.
Today we had a small incident in production – one of my teammates found out a feature in one of our component doesn’t …
Finding a single unique number in a list containing pairs might sound pretty simple, right?
Because a one-sentence description might be misleading, let’s start with an example of an input array:
[1,3,17,3,1]
Given such an array, the unique number is …
How to create a simple and efficient collision detection between paths in your HTML5 Canvas app or game? In this article we will create a maze, allow a player to navigate through the maze and detect when the player collides …
The toJSON method allows you to tell JSON.stringify how to print out your Class. This can be pretty useful…
The answer for that is as usual – there are many reasons. The most obvious one is …
The Array Nesting interview question might seem complex at first and very simple after you solve it. But sometimes, a deeper dive into it can expose some more performance optimizations that can be interesting. After this article, you’ll be able …
Collision detection is the basics of entities interaction on canvas. Imagine you have a Player Character (PC) that’s walking through a maze and you’d like to know if this PC bumps into a wall or can keep on going. One …