Writings & Videos

Writings & Videos

Immutable Records as object factories

Objects in JavaScript are quite flexible. This means, they can be altered in many ways, sometimes accidentally. What to do, when you need to guarantee the consistency?

  • javascript
  • data-structures

Real cost of your new library

Creating application nowadays consists mostly of implementation. We are using tools. But are those tools, albeit open-sourced, really free?

  • javascript
  • work-culture

Module pattern in JavaScript

A module is a construct somewhat similar to a singleton class. It has only one instance and exposes its members, but it doesn’t have any kind of internal state.

  • javascript
  • design-patterns

High level view and logic separation in React

One of React’s greatest strengths is the ability to separate the view from the logic. I like to take it a step further and create two separated _components_, one harboring view, and one – logic.

  • javascript
  • react

Test-driven development in JavaScript

Testing the code we are writing is crucial in the job. Even though there are teams that doesn't do tests at all, this is one of the most important parts of successful delivery.

  • javascript
  • testing
  • tdd