Observer pattern in Javascript

Observer pattern is common. Objects can subscribe and get notifications about other objects' changes. It's the base for MVVM, bindings and everything that can be considered »

ES6 for C# developers

ES6 came with a lot of new functionality, and finally I've found some time to go through them! I must admit - Javascript from "must" has »

Encapsulation in Javascript

How encapsulation can be achieved in Javascript: * private fields - variables trapped within a closure, * protected fields - don't use it at all, or use a »

SignalR Hub convention test

While implementing SignalR controller you have to keep in your mind that method overloading inside the Hub works... suddenly not as we expect. Let's consider example »

Immutability comes with design patterns

Recently I have tried to implement some design patterns using only immutable data structures/classes. Immutable data structures - what does it mean? * no setters - »