Visual Studio 2017 template for Chrome extensions

I have decided to build a Google Chrome extension and I was disappointed to find out that Visual Studio 2017 does not come with such a template. Then, I went to Google for templates and same result – nothing I can just say Project > New and start coding.

Read More

Composition vs Inheritance in JavaScript

I was showing some of our juniors how to develop basic things in JavaScript and I realized there is a century-old (he-he) question – What to use: Composition or Inheritance when creating a hierarchy of objects?

In highly structured languages like C#, the answer of the question is kinda obvious. Yes, it’s use Inheritance of classes. But this question comes more and more with TypeScript, React, and other languages based on JavaScript. There JS’s flexibility still exists but the creators want you to use the power of the classes. 

Read More