"Interview" problems

I've recently watched the Pluralsight course about job interviews. I've decided I will do some deeper analysis for one of a given problem. Although it seems »

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 »

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 »

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 - »