There are two basic ideas in CQRS:

  1. Objects should not have direct access to view or modify other object’s state.
  2. There should be separate codes to get (query) or modify (command) the state of an object.

Continue reading CQRS

Higher-order Functions

An introduction to functional programming.

In order to write great code in JavaScript or even understand frameworks written in this language, it’s vital to understand the meaning of “Higher-order Functions”.

Functions that operate on other functions, either by taking them as arguments or by returning them, are called higher-order functions.

Eloquent JavaScript


© 2019. All rights reserved.